EmailEngine, a serious tool from the get-go, had an unexpected twist. As a playful experiment, I integrated it with ChatGPT AI. Surprisingly, over time, this integration turned out to be more than just a joke; it became a valuable feature.
Once the ChatGPT integration is activated in EmailEngine, it processes every new email that lands in the INBOX folder of a monitored email account. The result? A wealth of processed information about each email is added to your "new email" webhooks.
If you've set up EmailEngine to sync with ElasticSearch, this analyzed data is also stored as part of the message details. But remember, moving an email from your Inbox to another folder will cause ElasticSearch to lose all the custom metadata for that email, including the analyzed data.
EmailEngine is compatible with both GPT3 and GPT4 models. If you're aiming for precision and top-tier results, GPT4 is your best bet. It has a larger context window, so it can handle longer emails. However, it's slower and more expensive than GPT3. So, if you just need a summary, GPT3 should suffice. For more advanced features, you might need to opt for GPT4.
GPT4 API access isn't automatically enabled; you'll need to apply for it.
Here's what EmailEngine extracts from incoming emails:
- Content Summary: It condenses the email content into a sentence or a short paragraph.
- Fraudulent Email Risk: It assigns a risk score from 1 to 5 (5 being riskier) and provides a brief explanation. It's adept at detecting scam emails, but not so much with spam.
- Reply Expectation: A boolean flag indicating whether the sender is expecting a reply.
- Reply or Forwarding Text: It removes threaded content from a reply email, leaving only the sender's original text.
- Event List: Any events with dates mentioned in the email.
- Activity List: Actions the recipient is expected to take, along with due dates if they're mentioned.
- Sentiment Assessment: A one-word evaluation of the email's sentiment - positive, neutral, or negative.
This structured information can feed into your email processing pipeline. For instance, if an email mentions events but lacks a calendar attachment, you could create one using the extracted data.
I believe we're just at the beginning of what AI can do for email processing. The most innovative ideas are yet to be discovered. The future of email processing using AI is promising.