This is a submission for the Postmark Challenge: Inbox Innovators.
What I Built
This is a MVP concept demonstration project, where I'll demonstrate how Postmark's inbound webhook and domain forwarding features can be directly integrated with an AI agent created with Agent.ai Platform, to act as either a middle-wire layer or as a decision making layer.
Leveraging the power of LLMs and other features of Agent.ai, anyone can supercharge Postmark's inbound email feature and create a full featured AI powered application layer for their business needs.
Demo
Following is the demo MVP AI Agent:
As it is built, any email sent to any
@HotLine.email
address will be process, categorized and sent to a pre-configured email address based on the content of the email and the configuration JSON.
Note: This agent should not be used directly, rather its webhook should be configured in Postmark's inbound webhook setting like the following:
TESTING
To test if it works as advertised, you'll just have to provide your own configuration JSON within your email's text (say at the end of the original email content).
That way, the processed email will go to an email given in your own provided configuration, instead of the pre-configured email set by HotLine.email Agent.
JSON configuration example:
{
"support": {
"description": "All support related email should go here",
"email": "support@fayaz.dev"
},
"offer": {
"description": "All offer and opportunity related promotional emails should go here. These are external offers.",
"email": "offers@fayaz.dev"
},
"hr": {
"description": "All human resource related email should go here",
"email": "hr@fayaz.dev"
},
"sales": {
"description": "All sales related email should go here. These are related to our own product sales query",
"email": "sales@fayaz.dev"
},
"fallback": {
"description": "This is the fall back email - if nothing matches or you are unsure, choose this email",
"email": "fallback@fayaz.dev"
}
}
Later the Agent will be updated so that someone can claim their own @HotLine.email
and configure how any inbound email will be processed and forwarded if an email is sent to their own example@HotLine.email
address.
Code Repository
This agent's build actions (source) is shared in public on Agent.ai. So anyone will be able to see or clone the AI agent from the following link after registering with Agent.ai.
HotLine.email AI Agent's Source Code
How I Built It
- Used Dynadot for registering and DNS configuring the
hotline.email
domain name - as you'll need a domain name to work with Postmark.
Used Postmark's inbound webhook feature.
Used Postmark's inbound domain forwarding feature.
Used Agent.ai to create an AI agent with webhook.
Conclusion
I was pleasantly surprised by Postmark's inbound feature and that how easy it was to work with Agent.ai to create a powerful AI agent!
It was a great experience for me!
Top comments (11)
Just sent the following email to
contact@hotline.email
with the+
feature of Gmail (my actual email replaced withmyemail
in the following example).It worked like a charm! I got the return email to
myemail+test@gmail.com
, as given in the JSON within the email. Cool!Question: Are you planning on releasing an actual hotline email address in your
@hotline.email
to other businesses? Could be an interesting idea!Nice domain name BTW. Very relevant to the MVP you've built!
All the best wishes.
Thanks! 🥰
Plan with @hotline.email:
Yeah, that was the initial idea. The MVP here demonstrate only a small part of it.
Of course, first I'll have to evaluate if people have interest in that sort of implementation.
However, I think having a single
<business-name>@hotline.email
that analyzes incoming emails, auto answers based on existing business documents and re-routes the incoming emails to proper channels (e.g. sales, support etc.) can be very useful!This could be awesome!
Just subscribe for a single email address and have all that service?
Many small businesses may actually want something like that, without setting up all that themselves.
I think you should launch a product and test the popularity of the idea in Product Hunt!
The domain name is perfect for the idea, so yeah, go ahead with it!
All the best.
Thanks!
Will definitely consider it 🥰
Tested with another config.
The return email came correctly, but this time it went to spam!
I guess I need to stop testing this. LOL!
LOL, yeah, that's probably is not a good idea!
I only have a limited account with 100 ish emails with the Postmark account.
Oops!
Cool!
Nicely done my friend!
Salute!
Thanks mate!
My message to Postmark team:
I think if you activate inbound email feature in your $15 package, you'll gain many more customers, because of how easy it is to use AI infrastructure like Agent.ai without paying a lot of money. Many of them will not be interested in $60+/mo price point.