/mail4gpt

REST API service for ChatGPT to access your email βœ‰οΈπŸ¦œ

Primary LanguagePythonMIT LicenseMIT

Manage your email in ChatGPT βœ‰οΈπŸ¦œ

UPDATE (14/05/2024):

I'm working on framework for serving Python notebooks as web applications. Recently, we have added option to execute Python notebook as REST API. Thanks to this, notebooks can be easily used in the ChatGPT builder as actions. I wrote example of custom action for sending emails from ChatGPT.


UPDATE (03/06/2024):

I turned off server with mail4gpt.com so schema in readme is not working.


Wouldn't it be fantastic if you could access your email in ChatGPT?

It is possible!

This project introduces a novel integration of email management capabilities into ChatGPT via a custom REST API server. It is specifically designed to augment the functionality of custom GPTs, enabling them to handle email tasks efficiently within the ChatGPT environment.

This server makes access to only one email address. It should be configured in .env file. See details below. This server gives access to email reading/sending by auth token that is created when server is starting.

Here is Swagger UI with endpoints docs.

Below is an example chat with email enabled. The chat history is available at https://chat.openai.com/share/8542aae6-74d7-47d3-bf2c-8f0c022985c3

Read email

Reading email in ChatGPT.

Send email

Send response in ChatGPT.

Configure

Please check .env-example to check which variables to set. You can provide only one email address.

OpenAPI schema is available at address: https://api.mail4gpt.com/schema/

OpenAPI schema in Swagger UI is available at address: https://api.mail4gpt.com/schema/swagger-ui/.

Deployment

The server is deployed with docker-compose. All configuration files are attached. If you need help with deployment please let us know!

πŸ‘©β€πŸ’ΌπŸ¦ Connect with Us on Twitter & Linkedin

Stay up-to-date with our latest projects by following us on Twitter (MLJAR Twitter) and LinkedIn (Aleksandra LinkedIn & Piotr LinkedIn). We look forward to connecting with you and hearing your thoughts, ideas, and experiences with mail4gpt. Let's explore the future of AI together!