Skip to content

Instantly share code, notes, and snippets.

@ahmader
ahmader / gist:f7d2b81cd4f20a6ca0e1ef874668e30c
Created September 6, 2020 23:15 — forked from gankit/gist:48bdead2699c5af474b51c05f812bce4
Google Apps Script to send email via Mailgun
// Index of some column that is not used.
var SENT_COLUMN = 15;
// Place your Grid API Key here.
var MAILGUN_KEY = "YOUR_MAILGUN_KEY"
// The emails will be send from here.
var EMAIL_FROM = "Company Name <[email protected]>";
// Errors will be send here
var SUPPORT_EMAIL = "[email protected]";
// Subject of the email
var SUBJECT = "EMAIL SUBJECT";