How can I add logo or image on email template

Also, I am using the 2.4.0 version and here is the error I got and I think I haven’t updated to the latest version yet. Do you think it could be the root cause of the issue, may I ask?