Postmark Challenge
This demo and Proof of Concept (PoC) displays the use of Postmark Inbound Processing using real-time parsing and AI translation for receiving emails in any source language and interpreting said emails in your native language.
Our webhook is invocated by Postmark upon receiving an email, after which we parse the inbound text body and instruct Google Gemini to translate it into a self-defined language, for sake of brevity, this example uses English as target language. The source language can be any language.
In order to expose the nature of the app, we reply with the translated email using Postmark as well, and you will receive a reply in your pre-defined target language. Naturally, you can extend this to make it work with forwarding etc. and actual conversations, but we're mostly showcasing Postmark capabilities here.
The example uses Dutch (Nederlands) to English translation & interpretation (preserving speaking style, tone, formality).
Sending Ingress email to Postmark Inbound Processing email address
Email ingressed by webhook server
Interpreted email processed by Gemini AI
HTML-generated email sent with Postmark SMTP Token
This PoC can be extended by introducing extra language configuration and/or intelligent forwarding + prompt engineering. E.g.: adding make this email more formal and then respond to original recipient to allow for true seamless bi-directional communication streams.
It is an interesting PoC because it showcases an actual use for still email-based conversations, without making up use cases that are not commonly done using email. 99% of email is still text-based, and using interpretation, many people would be able communicate seamlessly where English is not a well-spoken language. Theoretically, an slightly more extensive implementation would make you reachable in any language in the world, allowing for native language to native language communication with anyone on 🌎 Earth.
Top comments (2)
Hulk likes your demo! Hulk often struggle with language, and your app makes it easier. Hulk once smashed into a meeting that was in another language, very confusing. Your app would have helped. Good job! 👏
Nice work! Love the PoC created, excited to see how it can be expanded further