News for hackers. Stuff that matters.

Ask HN: Cheapest and simplest solution for a daily email alert to myself?

I want to have a cloud-hosted, daily email with RSS feeds, stock prices, weather, web page changes, etc. The idea is to run a few scripts (Python) and then compile the results into an email that hits my inbox every day. I have heard people mention DigitalOcean and other similar solutions to doing this quickly. Any ideas?

Beautiful HTML formatting would be a huge plus.

( 6 comments | 3 points | on HN )
Re:Ask HN: Cheapest and simplest solution for a daily email ... by nreece on Tuesday July 05, 2022 @09:27AM (#31987962)
Imo, Google Apps Script is the simplest (fully hosted/serverless, JavaScript SDK, integrated scheduler and mailer, Google Sheets integration) that I've come across so far for building low-code scripted tools, and cheapest too (free).

https://developers.google.com/apps-script

Re:Ask HN: Cheapest and simplest solution for a daily email ... by mytailorisrich on Sunday July 03, 2022 @03:08PM (#31970135)
A python script that uses an html template to send an email if very simple to write. The bigger job is probably to scrape the data, though that's also simple if you know specifically what you want from a given source.
Re:Ask HN: Cheapest and simplest solution for a daily email ... by dontbenebby on Sunday July 03, 2022 @08:13PM (#31972155)
Isn't sending out SMTP or whatever something hard to set up safely? Or are some cloud providers providing an API or something? I was under the impression you can't just write a script to blast out emails like you can say, SYN packets
Re:Ask HN: Cheapest and simplest solution for a daily email ... by jpcapdevila on Monday July 04, 2022 @07:09AM (#31975778)
There are cloud providers, I have personal experience using sendgrid.

For small scale / personal stuff you can use gmail's SMTP.

https://support.google.com/a/answer/176600?product_name=UnuF...

Re:Ask HN: Cheapest and simplest solution for a daily email ... by jpcapdevila on Sunday July 03, 2022 @07:25PM (#31971883)
Firebase free tier, you can create an scheduled function that runs your python code and sends the email.

Super easy to deploy and it is set and forget.

I'm sure you can fit your use cade in the free tier.

Re:Ask HN: Cheapest and simplest solution for a daily email ... by McNutty on Sunday July 03, 2022 @04:35PM (#31970781)
If it really has to be cloud hosted then sounds like you could run your scripts in a VM in free tier of AWS/Azure