7
9 Comments

Sending automatic daily email with JAMstack

Hi all,

I have a JSON file with a quote for each day of the week. I want to create an automatic daily newsletter.

I have zero experience with JS Frameworks and static websites (only Django). I wanted to use this project as a vehicle to learn JS Frameworks (Vue.JS) specifically.

I have been googling, but couldn't find a viable solution. Did anyone of you have an experience with something like that? Any feedback is welcome. Thanks a ton in advance.

P.S. I will be sending a transactional email via Postmark, as opposed to full marketing email like ConvertKit.

posted to Icon for group Developers
Developers
on February 4, 2020
  1. 2

    These guys are awesome and have a bunch of examples. Can learn a lot from this one which checks a website on a daily basis and then auto-emails through postmark. https://serverless.com/examples/aws-node-scheduled-weather/

    1. 1

      This is great. Thanks so much for sharing that. Added a few posts to my Pocket.

  2. 1

    You can also shortcut it and use Code Webhooks and the mail sending with Zapier. https://zapier.com/help/create/code-webhooks

    1. 1

      I've been meaning to start using Zapier. I'm not sure why, nut I find it frightening. Thanks for your suggestion.

  3. 1

    This doesn't really involve Vue but you could cobble something together with https://github.com/outstack/enveloper . It's a tool I've made.

    Might not be what you're looking for but if you can use SMTP with postmark, it could work.

    1. 1

      I love open-source projects like that. I will certainly check it out. Since I need somehting quick I will have to use something else now, but will hopefully get to experiment with your solution. Thanks!

      1. 1

        Hope you find something suitable. If you ever do experiment, feel free to ask any questions!

  4. 1

    One possible way to do this is to create a lambda/cloud function which takes a json file from some storage or database and using the Postmark api sends the email. The function can be invoked by a cloud scheduler/cloud cron service every day. So basically you have to build a lightweight backend functionality. Firebase, AWS, Netlify etc all have the necessary services

    1. 1

      Awesome. Thanks for the input. I'll look into that. I've been meaning to explore lambda more in-depth.

Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 41 comments Why Early-Stage Founders Should Consider Skipping Prior Art Searches for Their Patent Applications User Avatar 22 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments Codenhack Beta — Full Access + Referral User Avatar 20 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 13 comments