Update: rethinking hotline.email

Working with hotline.email with new and powerful AI based user facing email application. Stay Tuned for future updates!


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:

HotLine.email 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:

Postmark webhook setting

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": "[email protected]"
  },
  "offer": {
    "description": "All offer and opportunity related promotional emails should go here. These are external offers.",
    "email": "[email protected]"
  },
  "hr": {
    "description": "All human resource related email should go here",
    "email": "[email protected]"
  },
  "sales": {
    "description": "All sales related email should go here. These are related to our own product sales query",
    "email": "[email protected]"
  },
  "fallback": {
    "description": "This is the fall back email - if nothing matches or you are unsure, choose this email",
    "email": "[email protected]"
  }
}
Enter fullscreen mode Exit fullscreen mode

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 [email protected] 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

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.

Dynadot DNS configuration

Agent'ai web hook

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!