Let’s tell you how to create a summary of all the newsletters received in your email electronic using artificial intelligence. For this, we are going to use the service Make to create a workflow or workflow with a three-step automation.
The idea is to have an email where we receive the newsletters, and configure an automation that once a day analyzes if you have new ones in your mailbox, sends them to an AI like Gemini to make a summary for you, and to send you an email to a second account with a summary of each newsletter you have.
But before we start, I must remind you that when you do this, you will be sharing your email data first with Make, where you will link your account, and then with Gemini to give you a summary. It is something that you should take into account if you are a person who wants to take maximum care of your privacy.
And if you don’t want to complicate things so much, remember that we have taught you how to make a timely summary of your newsletters with AI. This will not be programmed as we are going to show you today, but you will only need to link your email directly to an AI and write the prompt corresponding.
You have to use two email accounts
To create this automation you will need two email accounts. One will receive the newsletters and send an automatic email with the summary of each one to your second account.
A practical tip is to have an account only for newsletters. With this, first you will prevent unwanted newsletters from reaching you and so much data from your main account being shared, and on the other hand, when you create this workflow you will not be linking the email that you normally use, only the one for the newsletters.
And with this, when you configure the third step or module of our workflow, that is where you will have to put the main email to receive the summaries, while all the connections and content explorations will be where the newsletters arrive.
Tag your newsletters


You will also have to tag all newsletters that you receive. This way, you will have all the emails under that label, and then when creating the automation it will be easier to point out where the AI has to read. For example in Gmail, go to the manage labels option and create one.


Once you have created the label, simply label all the emails that are newsletters. So, sender addresses will be labeledand all the emails that arrive will go directly to the tag that you have created for the newsletters.
Get the AI API you want to use


For this automation, also we are going to need the API of an AI to be able to use it in our project. In our case, we will follow the guide that we have made for you to get the free Gemini APIand thus use Google AI to process the newsletters and send you the summaries.
You simply have to enter the website of aistudio.google.com and sign in with your Google account. When you do, in the left bar click on API keysand then at the top click on Create API key. By doing so, create a new project to link the key to and that’s it.
When you have created the API, you will see that it appears in the list of API keys. You just have to click on the left, below where it says Clueand a window with the API will open, starting with “AIza–“. You can do this with any other AI whose API you want to use.
Now, create your automation
Let’s now move on to creating our automation. As we have been doing several times, we are going to turn to Make, as it is a platform that is easy to use and very versatile. In it we will create automations with Gmail and Gemini modules, and in all of them we will have to log in.
We are going to skip these steps in the guide, but to log in with Gemini you will need to enter the API that we obtained in the previous step, and with Gmail you will have to log in and give the platform permission to read all your emails and be able to write them in your name.
First the Gmail module


The first thing we are going to do is create a new scenario in Make, and add module Watch emails from Gmail inside him. This module is used to make the automation read emails, and can be launched when you receive a new one.


Now we go to the panel to configure this module. In him, in Folder you can put All mailso that it reads all the emails, but just below it says that it does not include spam and garbage. So make sure the newsletters don’t go there.
In Label you have to choose the label Newsletters that we have created before in Gmail. As a criterion you can put them all, or those you have not read yet, and below mark the processed emails as read. Finally, you can set a limit on the number of emails to process. Save it like this, and in the next step choose if you want to process the emails from now on, all of them, or from a date.
Now a Gemini module to do the summary


We now go to the second step, that of create a Gemini module right after Gmail. Click on the + to the right of the Gmail module, among the options look for Google Gemini, and within its functions choose the option Generate a response. This is used to generate a response from some data you give it, which in this case will be emails labeled as newsletters.


Now let’s configure this module. You will first have to log in to Gemini using the API we generated at the beginning, and then in AI Model you can use the model you want. It doesn’t have to be the last one, it can be one a little earlier to make it lighter.
The important thing is in the field messageswhere we have to configure the Item 1. In Role put User, and in the field Partsin Item 1in Message Type put text. Below, in text you will have to write the prompt. For example, we have put this:
Summarize the content of the following newsletters in less than one hundred words. Focus on the main points of the content, and ignore bylines and disclaimers. Be clear and concise.
You have to say who sends the newsletter, the title and the summary of the content.
Below is the content: 1. From (name), 1. Subject and 1. Full text body


As you can see, after the prompt you will have to choose three of the items that appear in red in the window on the left. You will have to search 1. From (name), 1.Subject and 1. Full text body. With them, what you are doing is send Gemini the results of the Gmail module (that’s what the items are for), specifically the name, title and body text of the emails that you have labeled as Newsletters.
Below, in System Instructionssimply look for the field Response Modalities and choose the option text. With this you will make the responses generated by the AI only text, without images.
Configure email sending


We are going to the third step of creating the workflow, and that is to create another Gmail module after the Gemini one. In this case, let’s choose the module Send an email from Gmail.


In this module, in the field To you will have to write the email address you want to send to the summary of the newsletters, which must be different from the email where you receive them. Then configure the email, putting the title in Subjectleaving the body type as a collection of content, and focusing on Body contents.
in the field Body contentsyou have to configure a Content 1 putting in the field text the content of the email with the summary. There, put something like “This is the summary of the content of your newsletter today: And then, you have to add Gemini item 4.Result. When you are writing you will see the items on the right, and look for the ones that are in blue in the Gemini field, choosing the Result field.
Now configure the execution of the automation
Once you have finished creating your automation, click on the button Run eleven that you have below the screen, and it will be executed to check that everything works correctly. If everything is fine, this automation will send you an email for each new newsletter you have in your email inbox.
After checking that everything is fine, click below where it says Every 15 minutesand You will open a window to configure how often it runs this scenario or automation.
You can configure it however you want, but I recommend running it only once a day. to spend fewer Make credits. For that, in Run scenario choose the option Every dayand below put what time you want your automation to be launched automatically.
In Xataka Basics | How to create an excel with artificial intelligence where you can add the expenses of your digital purchase receipts



GIPHY App Key not set. Please check settings