Receive input via email?

Hi,

I’m interested to enable a way to send an email to a specific email address, and have Home Assistant monitor that email and respond with the status of certain components.

Can the IMAP sensor provide more specific information about a received email, such as the subject? Or could there be a way to accomplish this via the command line sensor?

Any input would be appreciated!
Thank you.

1 Like

The IMAP sensor can only get the number of unread emails.

I am also looking for ways to get the sender, subject, body and attachment of an email into automation with HASS.

Did you find a solution for this? Im having the same problems fetching an attachment

I at first used a custom Python script but now am simply using this:

It would be great if the email content could work with every sender.

Currently I have a TTS notification when I receive an email (“You have 1 unread email”). When the sender and the content of the email would be available too I would know who sent me an email.