Attach image to email

Hi all,
i try to attach an image to email, but always get an error.

Error: extra keys not allowed @ data[‘images’]

HA Green
smtp

service: notify.EMAILFOTO
data:
  message: test
  target: [email protected]
  title: test
  images:
    - /www/snapshot.jpg
1 Like

Try:

  images:
    - /local/snapshot.jpg

Also did you restart home assistant after creating the config/www (local) directory?

still the same error, tried also with the gmail addon where there is an extra input for data, doesnt work and wrote a python script to send email with attach, didnt work either.
so i think it has smth to do with the HA Green maybe? the www folder was there from beginning