Inspiration

Initially, I set out to create an AI assistant capable of managing my WhatsApp messages and other social media DMs. However, due to limitations with WhatsApp APIs for personal accounts, I was not able to create it. But, as I already had an idea of building a stress-management app a few months ago, I thought of combining the idea of the app, Gemini, and Gmail.

What it does

Mittentis operates as an AI email assistant accessible via mailto:mittentisai@gmail.com. It autonomously reads and responds to incoming emails, mimicking human interactions.

How I built it

Firstly, I made a small program that could interact with Gemini using API. Then, using Gmail API, I wrote a program to read and reply to all the unread emails. With these two steps done, I integrated both and created Mittentis.

The development process involved two main phases. Initially, I created a small program to interact with Gemini via its API. Subsequently, I created a program to manage incoming emails, crafting responses to unread e-mails using Gmail API. Integrating these components yielded Mittentis.

Challenges I ran into

A significant hurdle I encountered was integrating Python and Gmail API. With Google discontinuing support for SMTP and IMAP servers, I had to establish a Google Cloud project and obtain an API key. Overcoming authentication issues, such as restrictions on test users, proved time-consuming and required a full day of Python and Gmail integration.

Accomplishments that I am proud of

Mittentis itself is an accomplishment I am proud of. Its ability to provide companionship and support to individuals, particularly introverts lacking social connections, fills me with pride and satisfaction.

What I learned

This project gave me valuable insights into using the Gemini and Gmail APIs effectively. Additionally, I elevated my skills in prompt design.

What's next for MittentisAI

While Mittentis excels at basic email interactions, further refinement is necessary to make it respond with a more human-like quality. In the coming days, I will focus on enhancing the prompt and increasing Mittentis's capabilities to achieve more natural conversational outcomes.

Built With

Share this project:

Updates