⚙️ Automating Emails with Airtable
BaseMailer allows you to send emails automatically based on triggers from your Airtable base — such as when a record enters a view, is updated, or created.
This is perfect for sending:
- Welcome emails
- Follow-ups
- Reminders
- Any email based on Airtable activity
🎯 How It Works
You create the automation inside BaseMailer, and it gives you a script.
Paste this script into Airtable’s “Run a script” action block.
Whenever your Airtable trigger runs, BaseMailer sends the selected email to the record.
🎥 Watch the Tutorial
✅ Step-by-Step Setup
🔧 Step 1: Create an Automation in BaseMailer
- Go to the Automation tab in BaseMailer
- Click + New Automation
- Fill in the required fields:
- Automation Name — e.g. “Welcome Email”
- Table — your Airtable table name
- Email Template — choose an existing email template
- Sender Account — pick a verified Gmail, Outlook, or SMTP account
- Email Column — choose which column holds the recipient’s email
- Click Create Automation
You’ll now see a code snippet like this:
const response = await fetch("https://your-automation-url-here", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({ record: input.config().record })
});
📋 Note: This is just a sample. You’ll receive your actual automation URL from BaseMailer when you set up your automation. Make sure to copy and paste your own code from the BaseMailer popup.
🤖 Step 2: Set Up Airtable Automation
💡 We recommend watching the short video to see it in action.
- Copy the code
- Open your Airtable base and go to Automations
- Click + Create an automation
- Choose a trigger Example: “When record enters a view” or “When field is updated”
- Add an action → Select “Run a script”
- Paste the BaseMailer code into the script editor
📥 Step 3: Add Input Variable
- Click + Add Input Variable
- Name it
record
- Set the value as the Record ID from the trigger
✅ Final Step: Test and Turn On
- Click Test to verify the script
- Click Finish Editing
- Turn your automation ON
Done! 🎉
BaseMailer will now automatically send your email whenever the trigger runs.
💡 Tips
- You can set up multiple automations for different tables or templates.
- Each automation has its own script — copy the correct one!
- You can edit or pause automations anytime in the Automation tab.
❓Need Help?
Email us at support@basemailer.app
Or check out our other docs.