Add image to mail notification not working

You asked the same question in another topic. Did you follow the instructions in that topic’s Solution post? Specifically the instructions for adding the directory, containing your file, to allowlist_external_dirs in the homeassistant section of your configuration.yaml file?

For example:

homeassistant:
  allowlist_external_dirs:
    - '/config/www/tmp'