Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Email Automation

Email Automation

Send newsletter welcomes and GitHub release emails drafted by OpenAI via SMTP

Takes signups from a public webhook into a Data Table, sends welcome emails, and sends OpenAI-drafted release announcements only when SEND_EMAIL is set to YES.

What it does

## Newsletter Subscribe + Release Notification ### What this template does 1. Accepts newsletter signups from a public form/webhook. 2. Stores each email once in an n8n Data Table. 3. Sends a welcome email to new subscribers. 4. Generates release announcement email content from release notes. 5. Sends the release email to subscribers only after an explicit send confirmation. ### Main safety rule Release emails are blocked unless SEND_EMAIL is exactly YES. Keep it as NO while setting up or testing. ### Required setup before activating - Create or select a Data Table for subscribers and replace every REPLACE_WITH_YOUR_NEWSLETTER_DATA_TABLE_ID placeholder. - Configure Header Auth on both webhook triggers. - Configure SMTP credentials on both email nodes. - Replace newsletter@example.com, product names, website links, release links, and footer/legal copy. - Point Fetch Repo README From GitHub to your real README or changelog source. - Add unsubscribe/legal handling before using this with a public mailing list.

The steps

  1. When Newsletter Subscription Received
  2. Set Email And Subscribed At
  3. If Valid Email Address
  4. Respond With Invalid Email
  5. Lookup Subscriber by Email
  6. If Subscriber Not Found
  7. Insert New Subscriber
  8. Build Welcome Email Content
  9. Send Welcome Email
  10. Respond With Signup Success
  11. Respond Already Subscribed
  12. When Release Notification Posted
  13. Set Manual Release Parameters
  14. Fetch Repo README From GitHub

32 steps in total.

Similar automations