Connecting emails to a custom GPT assistant

Hi there, non-dev code dweller here. Long time lurker, first time posting :slight_smile:

I’m a founder of a biotech company and don’t have much time for emails.
So I’ve tried building a custom GPT to be my assistant. Fed it some technical documents about what we do.
Now I’m trying to connect it to my emails so that I can help me draft emails with most context, prioritize some replies over others.

Here’s what I tried, with no sucess so far :

  • Uploading a mbox file with all my emails.
  • Uploading a CSV (pulls only the 10 first emails)
  • Connecting the Custom GPT with a TODOIST API > fwd the email as a task to todoist. (it worked but the email attached to the task is freakin link, so that didnt’ work)

Any guess as how I could get closer to my goal ? Any interesting resource ?

I tried researching here for solutions, but didn’t find anything, thus the post. Thank you !

1 Like

Hi and welcome to the Developer Forum!

You may have some success looking at integrations from Zapier, one of the OpenAI GPT partners, as they have connectivity options for email and lots of office functionality. Alternatively you could build a solution using the API and fully customise a solution to your business, but that would require some coding to be done.


I haven’t done it yet, but Zapier is definitely what I’m going to use. Not an ad for them, but I think they probably have the most robust model for attaching the OAI api to a variety of other apps. I’ll do this today and let you know how it goes.


Did you get anywhere with this one, I think it has a lot of potential.

Kinda, what i have I worked the tone of voice, internal information and now I just have to write the context. But I think having something that looks over your emails, make sure that you don’t have oversights and propose answers would be killer …
Down to help if someone wants to cowork on this.

viji! I would be down to cowork on this. I created a custom GPT and am trying to do the same thing

1 Like

I’ve been writing something small to read and respond to emails for myself. Happy to try to make it a library or service if folks would use it. I have a first rough draft of the code with a basic example that calls into GPT I have working on my githhub (lookup user dbish on github then pick the GPTMail repo).

It uses IMAP with IDLE for reading, SMTP for responses, and a few other small parsing and responding libraries. Pretty straight forward, I run a version of it with a larger program on EC2 to monitor an inbox and decide how to respond.

1 Like

You should be able to connect you GPT to your email client via Zapier using custom actions.

There are a plethoera of platforms that you can use. I will come back and post them here.

Wait I thought openai API is not able to text, send emails or open up urls (to for example send a notification to a person) ?

Are u guys telling me if I create a gpt API chatbot for example, I can program it to actually send me an email dynamically? :confused:

I would like to see what options you have for this

1 Like

You can find a list of GPT’s I have created. (I have actually created over 3k - no I don’t always show them all).

In terms of this thread:

  1. ChatGPT - MyGoogle
  2. ChatGPT - MyToDoIst
  3. ChatGPT - MyNotion
  4. ChatGPT - MySlack
  5. ChatGPT - MyX

Hopefully this serves as some inspiration. You can also check my Gapier page - Custom GPT Universe , Tylan "Chowderr" Miller's AI Page - ChatGPT|GPTs|Custom GPT|Gapier


I am confused on your first sentence. I would not use “notification” as the action you are looking to do. You have to be more specific becuase any action can trigger a notification. Besides that, yes you can send a text, email, basically connect to another app to do something.

Thanks for responding.
What I mean is, if I create a chatbot using the openAI API, and the person wants a call back, is it possible to program the AI to send me an email when that happens? I was under the impression that the openai API is unable to send emails for example, or load an URL that would automatically send me an email?
Thank you.

I don’t understand why you not be able to do something like that. It would just be function, which is very simple. The fuction is to send you an email that someone requested a call back.

Well I can create a function in PHP to send an email yes, the openAI API is not able to call on a PHP function in my code that’s the thing.

Hello @Chowderr, I tried 1, but it fails to do the auth part properly. At first it asked me to grant the gmail permissions, I allowed it, in the google settings it said it can send emails, but did not explicitly state that it can read the emails. After asking it what to do, it said, delete app access and grant again, I did, but now superface does not appear any more on the app list in the google sec settings. The integration link, however, says that it is connected. Should I just wait until things get properly propagated?

You would have to show ma a video. This is the first time I ever heard of someone having an error. Also I am a bit confused on what the exact problem you are facing. Are you saying you could not send emails or?

Can we do a zoom maybe? Would save us some time. Im available for next 2 hours

You can send me an email “” and we can cordinae something. It would greatly help if you recoard a video, it is probaly a simple fix. I think you may be looking at it the wrong way.

  1. You should not have to go into the Google Sheets Apps at all for any reason. Once you connect, you just go back to the GPT.
  2. You do have to re-connect, it is not like a permanent connection. The trigger is “Configure My Google Integrations”.