Send tailored email replies to new inbox messages
When a new email lands in your Outlook inbox, the sender gets a quick, tailored reply with your company signature, so they know they were heard.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/send-tailored-email-replies-to-new-inbox-messages/
Paste into Claude, ChatGPT, Cursor or any agent.
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/send-tailored-email-replies-to-new-inbox-messages
Set it up with the CLI
- Add it. Copies the folder into
zaps/send-tailored-email-replies-to-new-inbox-messages/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/send-tailored-email-replies-to-new-inbox-messages - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy send-tailored-email-replies-to-new-inbox-messages - Check it. Its recent runs, with status and errors.
npx zap-pack logs send-tailored-email-replies-to-new-inbox-messages
zaps/send-tailored-email-replies-to-new-inbox-messages/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/microsoft-outlook.tsThe
microsoft-outlookaccount it uses - triggers/new-message-in-folder.tsWhat starts it:
microsoft-outlooknew_message_in_folder - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a new message arrives in the connected Outlook inbox (
microsoft-outlook,new_message_in_folder, with no folder set, so every new inbox message). - Filter (plain code): skips thread replies (subject starts with
Re:,Fw:orFwd:) and short acknowledgments (a preview of 40 characters or fewer that starts with a thank-you or confirmation word). Skipped messages stop there. - Wait: 5 minutes, so the sender can correct or add information first.
- AI (
ai): writes a concise HTML reply from the sender's first name, the subject and the preview: a greeting, a 1–2 sentence body and a warm closing. - Send (
microsoft-outlook,send_email): sends the reply to the sender's address, subjectRe:plus the original subject, with the company signature appended.
The reply goes only to the sender of the message that triggered it, and the Zap never replies to thread replies or simple acknowledgments.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
REPLACE_COMPANY_SIGNATURE_HTML |
The company signature as an HTML block, from config.ts, appended to every reply |
Review these defaults with them: the wait before replying (REPLY_DELAY_SECONDS, 300 seconds) and the longest preview still treated as an acknowledgment (ACK_MAX_PREVIEW_CHARS, 40 characters), both at the top of workflow.ts.
Also ask which Outlook inbox it should watch. The trigger has no folder set, so it watches the connected account's whole inbox; a shared inbox or a specific folder needs its name as the trigger's params. Confirm they are happy for every sender, including automated ones, to get a reply.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/send-tailored-email-replies-to-new-inbox-messages, replace each REPLACE_… value as this file says, then run npx zap-pack deploy send-tailored-email-replies-to-new-inbox-messages, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
microsoft-outlookto the user's Outlook connection, used for the trigger and the send step. AI by Zapier needs no connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-message-in-folder.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections (and sample the trigger, if it has one) before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run it once as a draft test with a sample message whose sender is the user's own Outlook address, so the reply can only go to them:
{
"from": {
"emailAddress": {
"name": "Test Sender",
"address": "<the user's own Outlook address>"
}
},
"subject": "Where can I find my invoice?",
"bodyPreview": "Hi, I can't find last month's invoice in my account. Could you point me to it?"
}
Confirm the run completes, that the reply arrives in the connected inbox with the signature, and that a thread reply (Re: … subject) and a short "Thanks!" preview are skipped. The 5-minute wait is part of the run, so allow for it. If run-status tools aren't available, check the result in Outlook directly. The user deletes the test data; the agent does not. Publish only after the test passes, and confirm the trigger is active.
Notes
- Replies go to whoever sent the message, so test with your own address first and never publish with a test address in the trigger.
- Acknowledgment and thread-reply detection use simple text rules, not AI judgement. Messages that don't match the rules are replied to.
- Anyone who emails the inbox gets a reply, including automated senders. Consider an allow-list, or a skip for
noreplyaddresses, before relying on it. - To customize, shorten the wait for chosen sender domains, or route messages that match chosen domains or keywords to a review queue before sending.