Mailparser : Raw email to object
Options
Future
Member ✭
After having some trouble parsing emails in Xano and seeing that I wasn't the only one, here's a snippet that I'm sharing that will help you parse an email received from a webhook or download a raw email (ex: from an S3 bucket or any other URL):
https://www.xano.com/snippet/UbdFLSlf/
2 groups :
- Download from URL
- Receive from webhook
Snippet is a simple endpoint that you'll be able to convert to a function or use as is. Delete the group you won't use, you'll end up with variable "parsed_email" with email object data.
* Disclaimer : You'll need lambda functions to parse emails (a paid account).
Have fun :)
Tagged:
Comments
-
Hey @Future would love to try it! What's the link?
-
Wooops... here's the link. :)
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback