Scenario Guide

AI Email Automation: Smart Campaigns with Agent Skills

Rule-based email automation tools are rigid by design: if this happens, then do that. The moment your use case requires nuance — personalizing messages based on recent activity, adapting tone for different audience segments, or handling an edge case the rule builder never anticipated — you hit a wall. AI email automation removes that ceiling. Your agent reads context from your CRM, calendar, and template library, drafts genuinely personalized messages, and routes, schedules, and tracks them through your existing email infrastructure. This guide covers the top five skills that power AI-driven email workflows, with setup instructions, a full workflow walkthrough, and a comparison table.

Table of Contents

  1. 1. What Is AI Email Automation
  2. 2. Top 5 Email Automation Skills
  3. 3. Workflow Walkthrough
  4. 4. Step-by-Step Setup
  5. 5. Comparison Table
  6. 6. FAQ (7 questions)
  7. 7. Related Resources

What Is AI Email Automation

AI email automation is the practice of delegating email workflow orchestration to an AI agent that uses Model Context Protocol (MCP) servers and agent skills to interact with your email infrastructure. Instead of configuring rigid if-then rules in a marketing automation platform, you describe the desired outcome and the agent determines which tools to invoke, in what order, to achieve it.

The key advantage over tools like HubSpot Workflows or Mailchimp Automations is flexibility. Those tools excel at predictable, high-volume sequences where the logic is known upfront. AI agents excel at tasks that require judgment: deciding whether a reply is positive or negative before routing it, composing a follow-up that references a specific detail from the recipient\u0027s company website, or handling an edge case that the automation builder never anticipated.

The five skills in this guide cover the full email automation surface: Gmail MCP for inbox interaction, Resend for high-deliverability transactional sends, Mailchimp for audience and campaign management, Notion MCP for template and content management, and the Calendar skill for time-based triggers. Used together, they give an AI agent the same capabilities as a dedicated marketing operations platform, with the flexibility to handle any workflow you can describe in plain language.

Top 5 Email Automation Skills

Each of the following five skills addresses a distinct layer of the email automation stack. The combination covers inbound handling, outbound sending, audience management, content storage, and time-based triggering.

Gmail MCP

Low

ModelContextProtocol

Read, compose, send, label, and search Gmail messages from your AI agent. Use this as the primary trigger layer — the agent watches your inbox for specific patterns and triggers downstream automation when matching emails arrive.

Best for: Reading and sending Gmail, inbox triage, auto-reply drafts, label-based routing

@modelcontextprotocol/server-gmail

Setup time: 5 min

Resend Skill

Low

Resend

Transactional email delivery via the Resend API. Use this skill for high-deliverability programmatic sends: welcome emails, password resets, invoice delivery, and drip campaign messages. Supports React Email templates and attachment payloads.

Best for: Transactional email, drip campaigns, high-deliverability bulk sends, React Email templates

mcp-server-resend

Setup time: 3 min

Mailchimp Skill

Low

Mailchimp / Community

Manage Mailchimp audiences, campaigns, and segments through your AI agent. Create and schedule campaigns, add subscribers, update tags, and pull engagement metrics — all through natural language instead of the Mailchimp dashboard.

Best for: Newsletter campaigns, audience segmentation, subscriber management, open rate analytics

mcp-server-mailchimp

Setup time: 5 min

Notion MCP

Low

Notion

Read and write Notion pages and databases. Use this skill to manage an email template library in Notion: the agent reads the relevant template for each campaign type, merges personalization variables, and passes the rendered content to the send skill.

Best for: Email template library, campaign content management, editorial calendar, draft review workflow

@modelcontextprotocol/server-notion

Setup time: 5 min

Calendar Skill

Low

ModelContextProtocol

Read and write Google Calendar events. Use this skill to trigger time-based email sequences: send a reminder email 48 hours before a meeting, a follow-up the morning after, and a summary one week later — all based on actual calendar data.

Best for: Meeting reminders, follow-up sequences, event-triggered emails, calendar-synced drip campaigns

@modelcontextprotocol/server-google-calendar

Setup time: 4 min

Workflow Walkthrough

AI email automation follows five stages. Each maps naturally to one or more of the skills above.

Stage 1: Trigger

Triggers can be event-based or time-based. Gmail MCP enables event-based triggers: the agent watches your inbox for specific patterns — a new email from a target domain, a subject line containing a keyword — and fires downstream automation when matched. The Calendar skill enables time-based triggers: send a reminder email 48 hours before each meeting on your calendar where the event has more than two attendees.

Stage 2: Draft

The Draft stage is where AI agents provide unique value over traditional automation. Instead of populating a fixed template with merge tags, the agent reads context about the recipient from the Notion template library, the CRM, or the calendar event, and composes a message that reflects that context. The result is an email that feels written by a person who knows the recipient, rather than generated from a template.

Stage 3: Personalize

Personalization goes beyond first name and company name. The agent can reference: the product the recipient is using, a blog post they published recently, the meeting agenda from Notion, or the support ticket they filed three days ago. The more context you give the agent access to, the more specific and relevant the personalization becomes.

Stage 4: Send

Sending routes through the appropriate skill based on message type. Transactional and bulk messages go through Resend for guaranteed deliverability. Campaign messages go through Mailchimp to leverage audience segmentation and engagement analytics. Personal and relationship emails go through Gmail MCP so they appear to come from your actual email address.

Stage 5: Track

After sending, the agent pulls engagement metrics. For Resend, this means querying the event log for opens, clicks, and bounces per message. For Mailchimp, it means retrieving campaign reports. The agent compiles these into a structured summary and can flag underperforming messages for review: any email with an open rate below 20% gets flagged with its subject line and send time for analysis.

Step-by-Step Setup

The following configuration sets up Gmail MCP, Resend skill, and Notion MCP as a minimal email automation stack. Add Mailchimp and Calendar skills as your use case expands.

Step 1: Add Skills to Your MCP Config

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-gmail"],
      "env": {
        "GMAIL_CLIENT_ID": "your_oauth_client_id",
        "GMAIL_CLIENT_SECRET": "your_oauth_client_secret",
        "GMAIL_REFRESH_TOKEN": "your_refresh_token"
      }
    },
    "resend": {
      "command": "npx",
      "args": ["-y", "mcp-server-resend"],
      "env": {
        "RESEND_API_KEY": "re_your_api_key"
      }
    },
    "notion": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-notion"],
      "env": {
        "NOTION_API_KEY": "secret_your_notion_key"
      }
    }
  }
}

Step 2: Verify Each Connection

  • "Show me the last 5 emails in my inbox" — verifies Gmail MCP
  • "Send a test email to [email protected] with subject MCP test" — verifies Resend skill
  • "List all pages in my Email Templates Notion database" — verifies Notion MCP

Step 3: Run Your First Automated Sequence

"Read the Welcome Email template from my Notion
Email Templates database. Personalize it for
[name] at [company] who signed up for the Basic plan.
Send the result via Resend to [email] from [email protected].
Log the send in the Notion Sent Log database with timestamp."

Step 4: Add Calendar and Mailchimp Skills

Add the Calendar skill for time-based triggers and the Mailchimp skill for bulk campaign management following the same pattern as the configuration above, providing each skill\u0027s required API credentials.

Comparison Table

Use this table to determine which skill is appropriate for each type of email send in your workflow.

SkillBest Send TypeBulk SupportAnalyticsSetupFree Tier
Gmail MCPConversational / personalNo (<500/day)Basic (read receipts)5 minYes (Gmail account)
Resend SkillTransactional / dripYes (high volume)Open, click, bounce3 min3k/mo free
Mailchimp SkillNewsletter campaignsYes (audience lists)Full campaign analytics5 min500 contacts free
Notion MCPTemplate / content sourceN/AN/A5 minYes (Notion free)
Calendar SkillTime-based triggerN/AN/A4 minYes (Google account)

Frequently Asked Questions

What is AI email automation?

AI email automation is the practice of using an AI agent to manage email workflows from end to end — triggering sends based on events, drafting personalized messages using context from a CRM or template library, routing replies to the right person, and tracking engagement metrics. Unlike rule-based email automation tools, an AI agent can reason about edge cases, adapt message tone based on recipient context, and make decisions that static if-then rules cannot handle.

What is the difference between Gmail MCP and Resend skill for sending emails?

Gmail MCP uses your personal or workspace Gmail account to send emails. It is best for conversational and relationship emails where the sender identity matters and the volume is low to moderate. The Resend skill uses the Resend transactional email API, which provides dedicated sending infrastructure optimized for deliverability at scale. For bulk campaign sends, welcome sequences, or transactional messages like receipts and password resets, Resend is the better choice. For personal follow-ups and inbox management, Gmail MCP is more appropriate.

How do I personalize emails with an AI agent?

Personalization works by giving the agent access to recipient context before composing. The agent reads the recipient's record from a CRM or Notion database, pulls their name, company, recent activity, and any other relevant fields, then uses that context to compose a message that feels individually written. A typical prompt: "Write a follow-up email to each of these 12 leads. Read their company description from the CRM first and reference one specific detail from their product in each message." The agent produces 12 distinct emails rather than a mail-merged template.

Can the AI agent manage Mailchimp campaigns without using the Mailchimp UI?

Yes. The Mailchimp skill exposes the full Mailchimp API through your AI agent. You can create a campaign, set the subject line and preview text, assign it to an audience segment, schedule the send time, and retrieve the open rate report — all through natural language prompts. This is particularly useful for teams who need to create many campaigns with consistent structure but varied content, because the agent can batch-create campaigns from a brief instead of clicking through the Mailchimp wizard repeatedly.

How do I set up a follow-up email sequence triggered by calendar events?

Connect both the Calendar skill and Gmail MCP or Resend skill to your agent. Then instruct the agent with a scheduled prompt: "Every morning at 8am, check Google Calendar for meetings that occurred yesterday. For each meeting where I was the host, draft and send a follow-up email to all attendees with a summary of action items. Pull the meeting notes from the linked Notion page if one exists." Running this prompt on a schedule creates a fully automated post-meeting follow-up workflow.

Is AI email automation compliant with CAN-SPAM and GDPR?

The AI agent does not automatically handle compliance — you must ensure compliance at the orchestration level. For bulk sends via Resend or Mailchimp, include unsubscribe links in every message, honor opt-out requests immediately, and only send to recipients who have consented. The agent can help by checking a suppression list before sending: "Before sending this campaign, filter out any email addresses in data/unsubscribed.csv." GDPR additionally requires a lawful basis for processing; consult legal counsel for your specific use case.

How do I track email open rates and click-through rates with an AI agent?

For Resend, the agent can call the Resend API to retrieve email event logs, which include open and click events per message ID. For Mailchimp, the Mailchimp skill fetches campaign reports including open rate, click rate, bounce rate, and unsubscribe rate. You can ask the agent: "Pull the performance metrics for all campaigns sent in March, calculate the average open rate by subject line length, and write a report to data/email-analytics-march.md." This turns raw metrics into actionable insights without logging into the dashboard.