Looking for advice to import an email, summarize with AI, and display on HA dashboard using pictures

I have no coding background other than what I’ve learned here. I work in finance :slight_smile:
I subscribe to a local weather blog and receive at least one email every morning containing the forecast. The blogger also sends out a weekly and mid-term forecast for the month occasionally. This is a subscription based service through Patreon if that matters.

Ideally, I’d like to have Gemini or ChatGPT summarize the email and put it into a weather card for a dashboard. No idea where to start with this so thought I’d ask for some pointers.

My suggestion is to walk before you start running.
Search the Blueprints Exchange - Home Assistant Community and someone may have written something for you. You can expand from there, take control of the blueprint and do things your way. However this is a bit complex to start out with your Home Assistant Journey.

1 Like

Learn how tk write a script…
Learn how. To pass variables in and out of that script.
Learn how to use response variables in said script.
Learn how to use tools to read email (may have tk create said tool)
Learn how to use tools to set a trigger text sensor.
Write script that reads email sends body to aitask action and collects the response in a response variable and writes it to a trigger text sensor to be source for a markdown card.

That said you basically picked a moonshot as your first project. (hey let’s do this really really hard not well documented thing by myself) You have a very steep learning curve.

That’s where you start…