I would like to attach my camera video sequence to an notification email, but there is only an option attach images.
Would be great to get a new option “videos:” to attach e.g. video.mp4 file.
- service: notify.mail_provider
data:
title: 'eMailTitle'
message: 'emailBody'
data:
videos: <--- new videos option instead images only
- 'video.mp4'
Here is how it is currently defined for images:
configuration.yaml:
notify:
- name: mail_provider
platform: smtp
sender: "[email protected]"
sender_name: "CamMon"
recipient:
- "[email protected]"
server: "mailserver.domain.tld"
port: 587
timeout: 15
encryption: starttls
username: !secret "mail_user"
password: !secret "mail_password"
automation:
- service: notify.mail_provider
data:
title: 'eMailTitle'
message: 'emailBody'
data:
images:
- 'video.mp4'
Greetings,
Alex