{"id":1467,"date":"2026-11-25T21:16:05","date_gmt":"2026-11-25T21:16:05","guid":{"rendered":"https:\/\/gearmage.com\/blog\/?p=1467"},"modified":"2026-11-25T21:16:14","modified_gmt":"2026-11-25T21:16:14","slug":"send-email-data-to-webhooks-and-zapier","status":"publish","type":"post","link":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/","title":{"rendered":"Email to webhook: send email data and attachments to an API or Zapier automatically"},"content":{"rendered":"\n<p>To send email to a webhook, let a rule pick the emails and add a <strong>Web hook<\/strong> step to it. Mail Attachment Downloader then calls your web address for each email or saved file, with a body built from the email&#8217;s fields and the values it found, and the attachments too if you want them. For Zapier there is a ready-made <strong>Send to Zapier<\/strong> step that starts a Zap the same way.<\/p>\n<p>The examples use Contoso&#8217;s mailbox finance@contoso.com, invoices from Acme and Northwind, and invoice numbers like INV-2026-0423.<\/p>\n\n<h2>What can you do with email to webhook?<\/h2>\n<p>Anything a system does when it is called. Some common ones:<\/p>\n<ul>\n<li><strong>Post invoice data to an accounting API:<\/strong> the invoice number, due date and total from Acme&#8217;s PDF go to your accounting system as a new bill, with the PDF attached.<\/li>\n<li><strong>Start a Zap:<\/strong> Zapier adds a row to a Google Sheet, creates a task in your task app or posts to a channel for each order email.<\/li>\n<li><strong>Open a ticket:<\/strong> a support or service desk system gets the sender, subject and text of each email to a shared mailbox.<\/li>\n<li><strong>Hand a file to another program:<\/strong> an internal service that reads, checks or stores documents.<\/li>\n<\/ul>\n\n<h2>What you need<\/h2>\n<ul>\n<li><strong>The edition:<\/strong> <strong>Web hook<\/strong>, <strong>Send to Zapier<\/strong>, <strong>Run a script<\/strong> and <strong>Run a command line<\/strong> are steps of <a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-server\">PRO Rules Server<\/a>.<\/li>\n<li><strong>Windows:<\/strong> Windows 10 or later, 64-bit, on a PC, a server or a cloud VM. No Outlook needed.<\/li>\n<li><strong>The mailbox:<\/strong> Gmail, Google Workspace, Microsoft 365, Outlook.com, Exchange, or any IMAP or POP3 mailbox.<\/li>\n<li><strong>The address:<\/strong> the web address (endpoint) to call, and its key or token if it needs one.<\/li>\n<\/ul>\n\n<h2>How to send email data to an API with the Web hook step<\/h2>\n\n<h3>1. Make a rule and find the values<\/h3>\n<p>On the <strong>PRO Rules<\/strong> tab, click <strong>New rule&#8230;<\/strong>. Under <strong>Which emails<\/strong>, add a condition such as the sender&#8217;s domain acme.example, and under <strong>Save<\/strong>, save the attachments. New to rules? <a href=\"https:\/\/gearmage.com\/blog\/save-emails-and-attachments-to-folders\/\">Save emails and attachments to folders<\/a> walks through a first one.<\/p>\n<p>The email&#8217;s own details are fields already: <code>{FROM}<\/code>, <code>{SUBJECT}<\/code>, <code>{DATE}<\/code> and many more (see <a href=\"https:\/\/gearmage.com\/blog\/customizing-filenames-or-email-data-using-fields\/\">fields<\/a>). Values inside the attachment, such as the invoice number or the total, come from <strong>Find fields in the file<\/strong> (patterns), <strong>Find fields with AI<\/strong> or the <a href=\"https:\/\/gearmage.com\/blog\/extract-data-emails-attachments\/\">Parser<\/a>. Put the web hook after or inside that step, so it can use them.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-rule-editor.jpg?w=840&#038;ssl=1\" alt=\"Rule Editor of Mail Attachment Downloader for the rule Scanned invoices: Find fields with AI fills INVOICE_NUMBER, DUE_DATE and TOTAL_INCLUDING_TAX, and the Web hook step inside it sends the values to an API\"><figcaption>Find fields with AI reads the invoice; the Web hook step inside it sends the values on.<\/figcaption><\/figure>\n\n<h3>2. Add the Web hook step<\/h3>\n<p>Under <strong>Then<\/strong>, click <strong>Add a step&#8230;<\/strong>, choose <strong>Other systems<\/strong> and double-click <strong>Web hook<\/strong>. Select a step first to add the new one after it or inside it; <strong>Add it<\/strong> says where.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-steps-othersystems.jpg?w=840&#038;ssl=1\" alt=\"Add a step window in Mail Attachment Downloader with Other systems chosen: Upload to cloud, Send to document management, Send for signature, Send to Zapier and Web hook, the step that sends email data to an API\"><figcaption>Add a step \u203a Other systems \u203a Web hook.<\/figcaption><\/figure>\n\n<h3>3. Set the address, method and body<\/h3>\n<ul>\n<li><strong>Address:<\/strong> the web address to call, such as <code>https:\/\/erp.contoso.com\/api\/bills<\/code>. Fields work here too; their values are URL-encoded, so <code>?invoice={INVOICE_NUMBER}<\/code> is safe.<\/li>\n<li><strong>Method:<\/strong> POST (the default), PUT, PATCH, GET or DELETE.<\/li>\n<li><strong>Content type:<\/strong> application\/json by default; XML, plain text, a form and others are in the list.<\/li>\n<li><strong>Body:<\/strong> what is sent, with fields in it. Click <strong>Fields&#8230;<\/strong> to pick one.<\/li>\n<\/ul>\n<p>A body for Acme&#8217;s invoice could be:<\/p>\n<pre><code>{\n  \"invoice\": \"{INVOICE_NUMBER}\",\n  \"supplier\": \"{EMAIL_FROM}\",\n  \"due\": \"{DUE_DATE}\",\n  \"total\": \"{TOTAL_INCLUDING_TAX}\"\n}<\/code><\/pre>\n<p>Each value is escaped for where it goes, so a value with quotes or a line break can&#8217;t break the JSON. <strong>Run<\/strong> decides how often it is called: <strong>For each saved file<\/strong> (the default) or <strong>Once per email<\/strong>.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?w=840&#038;ssl=1\" alt=\"Mail Attachment Downloader's Web hook step on the rule Acme invoices: POST to https:\/\/erp.contoso.com\/api\/bills as JSON with the invoice number, supplier, due date and total from the email's fields, the saved file sent along, the answer kept in {BILL}, an Authorization header, a 30-second timeout and 3 retries\"><figcaption>The Web hook step: send the email&#8217;s fields as JSON to any API, with the file, headers and retries.<\/figcaption><\/figure>\n\n<h3>4. Headers, files and retries<\/h3>\n<ul>\n<li><strong>Send files:<\/strong> <strong>None: only the body<\/strong>, <strong>The file it runs for<\/strong>, or <strong>Every file the rule saved from the email so far<\/strong>. With files, the call is sent as a form: the body in a field named payload, and each file as a file.<\/li>\n<li><strong>Headers:<\/strong> under <strong>More options<\/strong>, <strong>Add a header<\/strong> adds one, such as <code>Authorization<\/code> with <code>Bearer<\/code> and your API key, or an API key header your service asks for.<\/li>\n<li><strong>Timeout (seconds)<\/strong> and <strong>Retries:<\/strong> 30 seconds and 3 retries by default. A call that gets no connection, no answer in time, or HTTP 408, 429 or a server error is tried again after 2, 4, 8&#8230; seconds. An answer like 400 or 401 isn&#8217;t, since the same call would get the same answer.<\/li>\n<\/ul>\n<p>If it still fails, the step fails: the <strong>Downloads<\/strong> tab shows it, the steps under <strong>If something fails<\/strong> run, and the email&#8217;s <a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#history\">History<\/a> tries the step again later. History also keeps the address without its query, which can hold a key.<\/p>\n\n<h3>5. Test it<\/h3>\n<p>Click <strong>Test the web hook<\/strong>. It calls the address once with a sample email&#8217;s values and shows the answer. Then click <strong>Save<\/strong>, and <strong>Test this rule&#8230;<\/strong> to see which emails the rule picks; the test only describes the call, it doesn&#8217;t make it.<\/p>\n\n<h2>Keep fields from the API&#8217;s answer<\/h2>\n<p>The answer is kept in the field named in <strong>Save the answer in<\/strong>, such as <code>{BILL}<\/code>. Steps inside the web hook, and the steps after it, can use it. When the answer is JSON, a <strong>Fill a template (Handlebars)<\/strong> step picks out what you need: with <code>{{id}}<\/code> as its template, the bill&#8217;s ID from your accounting system becomes a field for a file name, a database row or a notification.<\/p>\n\n<h2>How do I send email to Zapier?<\/h2>\n<p>With <strong>Send to Zapier<\/strong>. It is the web hook step set up for a Zap that starts with Webhooks by Zapier, so there is no method or content type to choose.<\/p>\n<ol>\n<li>In Zapier, make a Zap with <strong>Webhooks by Zapier<\/strong> and the <strong>Catch Hook<\/strong> event, and copy its web address.<\/li>\n<li>In the rule, click <strong>Add a step&#8230;<\/strong> \u203a <strong>Other systems<\/strong> \u203a <strong>Send to Zapier<\/strong>.<\/li>\n<li>Paste the address into <strong>Zap&#8217;s address<\/strong>.<\/li>\n<li>Check <strong>Fields to send<\/strong>. It starts with the sender, subject, date, account and save path, plus the fields your rule finds. Add more with <strong>Fields&#8230;<\/strong>.<\/li>\n<li>Click <strong>Send a sample to Zapier<\/strong>, then <strong>Test trigger<\/strong> in Zapier to see the fields.<\/li>\n<\/ol>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-dialog-steppickerzapier.jpg?w=840&#038;ssl=1\" alt=\"Add a step window with the Send to Zapier step selected: starts a Zap with the email's fields (Webhooks by Zapier, Catch Hook)\"><figcaption>Send to Zapier is in Add a step \u203a Other systems.<\/figcaption><\/figure>\n<p>It runs <strong>Once per email<\/strong>. Files go only if you choose them under <strong>More options<\/strong>; the step says what leaves the computer: the fields to send, and those files, to hooks.zapier.com.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-dialog-ruleeditorzapier.jpg?w=840&#038;ssl=1\" alt=\"Send to Zapier step in the Rule Editor for the rule Orders to Zapier: Zap's address https:\/\/hooks.zapier.com\/hooks\/catch\/..., Fields to send with from, subject, date, account_email and save_path, Run Once per email, and Send a sample to Zapier\"><figcaption>Send to Zapier: paste the Zap&#8217;s address and choose the fields to send.<\/figcaption><\/figure>\n<p>In Zapier, add the actions that use the fields: Google Sheets&#8217; &#8220;Create Spreadsheet Row&#8221; to log each Northwind order, or a task app&#8217;s create-task action with the subject as the task name. Same retries as the web hook, and the answer is kept the same way.<\/p>\n\n<h2>Run a script or a command line instead<\/h2>\n<p>When the work is on your own system rather than behind a web address, use <strong>Add a step&#8230;<\/strong> \u203a <strong>Programs<\/strong>:<\/p>\n<ul>\n<li><strong>Run a script:<\/strong> a PowerShell script, a .bat or .cmd file, or a program, with the fields in its <strong>Arguments<\/strong>, and a <strong>Timeout (seconds)<\/strong>.<\/li>\n<li><strong>Run a command line:<\/strong> a program or a .bat file, with arguments such as <code>--supplier \"{SUPPLIER}\" --file \"{SAVE_PATH}\\{FILENAMEEXT}\"<\/code>.<\/li>\n<\/ul>\n<p>Click <strong>Run it once (test)<\/strong> to try it with a sample email&#8217;s values. Both are <a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-server\">PRO Rules Server<\/a> steps. More in <a href=\"https:\/\/gearmage.com\/blog\/email-actions-unzip-convert-pdf-run-script\/\">email actions: run a script<\/a>.<\/p>\n<figure><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/gearmage.com\/assets\/images\/4.0-run-program.jpg?w=840&#038;ssl=1\" alt=\"Run a command line step in the Rule Editor for the rule Supplier invoices: Command C:\\Tools\\ArchiveInvoice.exe, Arguments with the SUPPLIER, SAVE_PATH and FILENAMEEXT fields, Run For each saved file, and Run it once (test)\"><figcaption>Run a command line: a program gets the fields as arguments.<\/figcaption><\/figure>\n\n<h2>Questions people ask<\/h2>\n<h3>Can I send email attachments to a webhook?<\/h3>\n<p>Yes. Set <strong>Send files<\/strong> to <strong>The file it runs for<\/strong> or <strong>Every file the rule saved from the email so far<\/strong>. They are sent as a form upload with the body.<\/p>\n<h3>Does it work with Make, n8n or Power Automate?<\/h3>\n<p>Any service that gives you a web address to call works with the <strong>Web hook<\/strong> step. <strong>Send to Zapier<\/strong> is only a shortcut for Zapier.<\/p>\n<h3>Will the same email be sent twice?<\/h3>\n<p>No. Each account&#8217;s History remembers the emails it has handled, so the next run doesn&#8217;t call the address for them again.<\/p>\n<h3>Does the program have to be running?<\/h3>\n<p>Yes, or run it as the <a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#windows-service\">Windows service<\/a> of <a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-server\">PRO Rules Server<\/a>, which works 24&#215;7, even when nobody is signed in.<\/p>\n\n<p><strong>Try it:<\/strong> <a href=\"https:\/\/gearmage.com\/maildownloader.html\">download Mail Attachment Downloader<\/a> and start with <a href=\"https:\/\/gearmage.com\/buymaildownloader.html#plan-free\">the free edition<\/a>, or <a href=\"https:\/\/gearmage.com\/buymaildownloader.html\">compare the PRO editions<\/a>, each with a 30-day money-back guarantee.<\/p>\n\n<h2>Related<\/h2>\n<ul>\n<li><a href=\"https:\/\/gearmage.com\/emails-to-webhooks-and-ai.html\">Send email data to webhooks, AI and Slack<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#webhooks\">Call webhooks and APIs: features<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/maildownloader_pro_features.html#zapier\">Send to Zapier: features<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/extract-emails-integrate\/\">Extract data from emails and integrate your business systems<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/emails-invoice-processing\/\">Invoice emails to your invoice processing software<\/a><\/li>\n<li><a href=\"https:\/\/gearmage.com\/blog\/save-email-attachments-to-docuware-laserfiche-m-files\/\">Email to DocuWare, Laserfiche or M-Files<\/a><\/li>\n<\/ul>\n<p>Questions about this post? <a href=\"https:\/\/gearmage.com\/contact.html\">Contact us<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.<\/p>\n","protected":false},"author":1,"featured_media":1454,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[131,4],"tags":[],"class_list":["post-1467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integrations","category-mad"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Email to webhook: send email data to Zapier - Gearmage Blog<\/title>\n<meta name=\"description\" content=\"Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Email to webhook: send email data to Zapier - Gearmage Blog\" \/>\n<meta property=\"og:description\" content=\"Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/\" \/>\n<meta property=\"og:site_name\" content=\"Gearmage Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-25T21:16:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T21:16:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"1152\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"gearmage\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"gearmage\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/\"},\"author\":{\"name\":\"gearmage\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/person\\\/c8728645787bff3555b5873b43161652\"},\"headline\":\"Email to webhook: send email data and attachments to an API or Zapier automatically\",\"datePublished\":\"2026-11-25T21:16:05+00:00\",\"dateModified\":\"2026-11-25T21:16:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/\"},\"wordCount\":1411,\"publisher\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1\",\"articleSection\":[\"Integrations and automation\",\"Mail Attachment Downloader\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/\",\"url\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/\",\"name\":\"Email to webhook: send email data to Zapier - Gearmage Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1\",\"datePublished\":\"2026-11-25T21:16:05+00:00\",\"dateModified\":\"2026-11-25T21:16:14+00:00\",\"description\":\"Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1\",\"width\":1400,\"height\":1152,\"caption\":\"Mail Attachment Downloader's Web hook step on the rule Acme invoices: POST to https:\\\/\\\/erp.contoso.com\\\/api\\\/bills as JSON with the invoice number, supplier, due date and total from the email's fields, the saved file sent along, the answer kept in {BILL}, an Authorization header, a 30-second timeout and 3 retries\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/send-email-data-to-webhooks-and-zapier\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Email to webhook: send email data and attachments to an API or Zapier automatically\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/\",\"name\":\"Gearmage Blog\",\"description\":\"Email Processing Tools and Solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#organization\",\"name\":\"Gearmage\",\"url\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/gearmage.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/02\\\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1\",\"width\":240,\"height\":58,\"caption\":\"Gearmage\"},\"image\":{\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/gearmage.com\\\/blog\\\/#\\\/schema\\\/person\\\/c8728645787bff3555b5873b43161652\",\"name\":\"gearmage\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g\",\"caption\":\"gearmage\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Email to webhook: send email data to Zapier - Gearmage Blog","description":"Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/","og_locale":"en_US","og_type":"article","og_title":"Email to webhook: send email data to Zapier - Gearmage Blog","og_description":"Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.","og_url":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/","og_site_name":"Gearmage Blog","article_published_time":"2026-11-25T21:16:05+00:00","article_modified_time":"2026-11-25T21:16:14+00:00","og_image":[{"width":1400,"height":1152,"url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1","type":"image\/jpeg"}],"author":"gearmage","twitter_card":"summary_large_image","twitter_misc":{"Written by":"gearmage","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#article","isPartOf":{"@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/"},"author":{"name":"gearmage","@id":"https:\/\/gearmage.com\/blog\/#\/schema\/person\/c8728645787bff3555b5873b43161652"},"headline":"Email to webhook: send email data and attachments to an API or Zapier automatically","datePublished":"2026-11-25T21:16:05+00:00","dateModified":"2026-11-25T21:16:14+00:00","mainEntityOfPage":{"@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/"},"wordCount":1411,"publisher":{"@id":"https:\/\/gearmage.com\/blog\/#organization"},"image":{"@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1","articleSection":["Integrations and automation","Mail Attachment Downloader"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/","url":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/","name":"Email to webhook: send email data to Zapier - Gearmage Blog","isPartOf":{"@id":"https:\/\/gearmage.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#primaryimage"},"image":{"@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1","datePublished":"2026-11-25T21:16:05+00:00","dateModified":"2026-11-25T21:16:14+00:00","description":"Email to webhook, automatically: Mail Attachment Downloader sends invoice data, fields and attachments from email to any API or a Zapier Zap.","breadcrumb":{"@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#primaryimage","url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1","contentUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1","width":1400,"height":1152,"caption":"Mail Attachment Downloader's Web hook step on the rule Acme invoices: POST to https:\/\/erp.contoso.com\/api\/bills as JSON with the invoice number, supplier, due date and total from the email's fields, the saved file sent along, the answer kept in {BILL}, an Authorization header, a 30-second timeout and 3 retries"},{"@type":"BreadcrumbList","@id":"https:\/\/gearmage.com\/blog\/send-email-data-to-webhooks-and-zapier\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gearmage.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Email to webhook: send email data and attachments to an API or Zapier automatically"}]},{"@type":"WebSite","@id":"https:\/\/gearmage.com\/blog\/#website","url":"https:\/\/gearmage.com\/blog\/","name":"Gearmage Blog","description":"Email Processing Tools and Solutions","publisher":{"@id":"https:\/\/gearmage.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gearmage.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/gearmage.com\/blog\/#organization","name":"Gearmage","url":"https:\/\/gearmage.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gearmage.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2016\/02\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1","contentUrl":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2016\/02\/cropped-cropped-GearMage.jpg?fit=240%2C58&ssl=1","width":240,"height":58,"caption":"Gearmage"},"image":{"@id":"https:\/\/gearmage.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/gearmage.com\/blog\/#\/schema\/person\/c8728645787bff3555b5873b43161652","name":"gearmage","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ca0fad01f9a63241bc21d4f1f44befe7c62e4ee3bb268fb1adaadc2e49ed0699?s=96&d=mm&r=g","caption":"gearmage"}}]}},"jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/gearmage.com\/blog\/wp-content\/uploads\/2026\/11\/4-0-webhook-step.jpg?fit=1400%2C1152&ssl=1","_links":{"self":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts\/1467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":3,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":1472,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/posts\/1467\/revisions\/1472"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/media\/1454"}],"wp:attachment":[{"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gearmage.com\/blog\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}