AutoEmails Merge Tags For AI Agents | Variables Guide
Every merge tag an AI agent can use in AutoEmails — {{first_name}}, {{company_name}}, {{booking_link_1}} — plus fallbacks, workspace variables and per-lead cu
Built-in variables
{{first_name}}, {{last_name}}, {{name}}, {{company_name}}, {{email}}, {{sector}}, {{today_date}}, {{month_year}}, {{workspace_name}}, {{workspace_website}}, {{sender_name}} and {{booking_link_1}} (every workspace has a built-in booking page, so this always works). Call list_variables for the live list.
Fallbacks
Write {{key|fallback}} to use a default when a value is empty, e.g. {{first_name|there}} or {{city|your area}}. For businesses 'Hi {{first_name}},' automatically becomes 'Hi there,'.
Workspace variables
set_variable creates a value used in every email, e.g. {{offer_line}}. They also appear in Settings → Variables. Built-in and system variables cannot be overwritten.
Per-lead variables
set_lead_variables saves personal values on one lead, e.g. fields {painpoint: 'late supplier invoices'} → {{painpoint}}. Keys are lower-cased with spaces removed.
Order: the lead's own value, then the workspace variable, then the {{key|fallback}} default. Built-ins like first_name can't be overridden this way.
preview_email with a lead_id shows the email filled with that lead's values.
What happens to an unknown variable?
It's removed before sending, so recipients never see raw {{tags}}. Use a fallback to control the wording.
Can I put {{first_name}} at the end of a subject?
No — AutoEmails moves it to the start ("{{first_name}}, Cutting Your Packaging Costs").
Frequently asked questions
What happens to an unknown variable?
It's removed before sending, so recipients never see raw {{tags}}. Use a fallback to control the wording.
Can I put {{first_name}} at the end of a subject?
No — AutoEmails moves it to the start ("{{first_name}}, Cutting Your Packaging Costs").
About AutoEmails and Leo
AutoEmails is an AI email marketing platform built around Leo, an autonomous AI email marketing agent. Leo analyses your business, finds the right audience, writes and designs emails, launches campaigns and reports on replies, meetings, orders and revenue.
The platform covers three engines in one account: Outreach, which finds new companies or decision makers and emails them with personalised plain-text messages and follow-ups; Marketing, which sends designed HTML newsletters and campaigns to your own contacts; and Automations, which run triggered email journeys such as welcome series, abandoned cart recovery and re-engagement.
Leo works autonomously within guardrails. It can suggest and launch campaigns, resend to non-openers, expand targeting when a lead scan falls short and pause sending when deliverability signals such as bounce or spam-complaint rates rise. Every action is logged with an evidence trail so you can see what Leo did and why.
AutoEmails connects to Shopify, WooCommerce, WordPress, Calendly, Google Analytics, Google Search Console and custom e-commerce stores, so campaigns can be measured on real outcomes: replies and booked meetings for lead generation, and orders and revenue for e-commerce.
Pricing is capacity-based in British pounds, starting with a free plan. You can start free at autoemails.com without a credit card, let Leo scan your business and review the first campaign before anything is sent.
More from Leo actions
- AutoEmails MCP | Run Email Outreach From Your AI Agent — Connect ChatGPT, Codex, Claude or Cursor to AutoEmails via MCP: find leads, write emails, send tests and go live with bulk sending — you approve every send.
- How AI Agents Build Email Automations In AutoEmails — How an AI agent builds, checks and switches on AutoEmails automations (welcome, cart recovery, win-back and more) with delays on every step.
- AutoEmails MCP Troubleshooting | Fix Agent Errors — Fixes for common AutoEmails MCP errors in ChatGPT, Codex, Claude and Cursor: OAuth setup, missing tools, permissions, test_required and unverified domains.
- Businesses vs Decision Makers | AutoEmails Agent Guide — How AI agents choose between free business discovery (Google Search and Maps + website email finder) and credit-based decision makers by job title in AutoEmai
- AI Agent Email Safety & Approvals | AutoEmails MCP — How AutoEmails stops AI agents sending without permission: three action levels, yes-in-chat confirmation, 15-minute Stop links, test-before-live and opt-out p
- Email Marketing For AI Agents | AutoEmails — Let Claude, ChatGPT, Gemini, Copilot or Cursor run your newsletters, HTML designs, CRM sync and unsubscribes — with you approving every send.
- AutoEmails For ChatGPT | Email Marketing Agent — ChatGPT works best for quick briefs and copy variations. Connect AutoEmails once in developer mode and ChatGPT can draft, test and sync for any workspace you
- Meet Leo, Your AI Email Marketing Agent | AutoEmails — Create newsletters, find prospects and build automations with Leo, your AI email marketing agent. Your brand, your voice, your approval. Start free with AutoEmails.