Learn how to create and automate sending a daily report email using Gmail and GitHub Actions. We'll walk through setting up a node.js app from scratch, using Gmail as an SMTP server, automating running our mail send script with GitHub Actions, along with adding the weather with the AccuWeather API and a Gif with the Tenor API.
🧐 What's Inside
00:00 - Intro to Daily Email Report
00:19 - Tools we'll use including Gmail, GitHub Actions, Accuweather API, and Tenor API
01:31 - Starting a new node.js project with npm init
02:12 - Creating a node script
03:15 - Installing nodemailer and configuring the Gmail SMTP server
05:28 - Setting up a Google App Password to use for sending authenticated mail with Gmail
07:32 - Configuring email to send with nodemailer and testing sending an email
09:27 - Using dotenv to set up environment variables to secure sensitive data
12:17 - Automating sending the daily report email using GitHub Actions
18:48 - Adding the local forecast with the AccuWeather API
32:02 - Adding a Gif of the Day using the Tenor API
40:04 - Outro
🗒️ Read More
https://spacejelly.dev/posts/how-to-s...
🔔 Subscribe for more tech and developer videos
https://www.youtube.com/colbyfayock?s...
🐦 Get updates straight to your Twitter @colbyfayock
/ colbyfayock
📸 Catch the next stream live on Twitch @colbyfayock
/ colbyfayock
✉️ Or a newsletter right to your inbox!
https://www.colbyfayock.com/newsletter/
💝 Sponsor me for more free content like this!
GitHub: https://github.com/sponsors/colbyfayock
Other: [email protected]
👨🚀 Brought to by colbyfayock.com
https://www.colbyfayock.com
🎥 Want to know what A/V equipment I use?
https://www.colbyfayock.com/uses
🧰 More Resources
Google App Passwords
https://support.google.com/accounts/a...
Gmail SMTP Settings
https://support.google.com/mail/answe...
AccuWeather API
https://developer.accuweather.com/
Tenor API
https://tenor.com/gifapi
🎼 Music
Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/infraction/ultra...
License code: YO5UYXL0EG8UKTVF
#colbyfayock #automation #githubactions #node #nodejs #webdevelopment #tenor #accuweather #email #gmail