Skip to main content

Hi

When a New Email Triggered by Outlook, I want to pass it to an external system by POST Document as eml attachment.

I am filtering only Replied Emails, So emails body html will be large, even tried python code to make it clean but warnings , signatures , images before splitted by FROM making it messyand lengthy.

The only way to make it cleaner would be convert that as eml or msg file of the email received.

may be forward as attachement as a new email that can trigger but not sure - if there is any code that can convert email to msg or eml, appreciate it , 

Currenlty not interested to use third party like other external tools to do.  does Email by Zapier works as well??

Has anybody faced this scenario or use case.

Let me know

Hi ​@Knight FM,

 

Welcome to the Community.

Zapier's built-in tools don't support converting emails to EML or MSG formats, but you can try forwarding emails as attachments via Outlook or refining Python code for cleaner processing. Though complete conversion may be complex, the "Code by Zapier" step might help with parsing. Since third-party tools aren't preferred, optimizing content handling within Zapier's constraints and testing different parsing methods could offer a viable solution.

If you have any more questions or need further assistance, feel free to ask.


Hi there, ​@Knight FM 👋

How are things going with this—were you able to get a workaround in place?

If not, it sounds like you’re planning on using a POST (Webhooks) action to send the EML file, is that correct? If so, what’s the API endpoint you’re making the POST request to? Can you share a link to the API documentation that you’re referencing for the request?

Just wondering if the API you’re sending it to might accept the contents of the email in the body of the request, rather than needing to pass it an EML file specifically. Do you think that could work?

Looking forward to hearing from you! 🙂