How to create a Telegram bot that sends you a summary made by Gemini of each email you receive in Gmail and other emails

Let’s explain to you how to create a Telegram bot that sends you a summary of your emails emails, such as Gmail. Thus, when you receive a new email, whether from anyone or from specific senders or topics, an artificial intelligence will make a summary and send it to you. All this without knowing how to program nor have technical knowledge. This is not something you can do simply by asking artificial intelligence, and we are going to need a program that generates workflows or work flows. We will use Make.com, because it is very complete and easy to use. Besides, Make.com It has a free version that is perfect for taking the first steps, although with some limitations. In Make we will have to link any artificial intelligence, although we have opted for Gemini because it is easy to obtain a free API for it. And then, We have chosen Telegram because creating bots is easyand it only takes a few minutes. In the end, what you will need is an API from an AI, a Token key from a Telegram bot, and creating the workflow chain on Make.com. In the examples we have used Gmail because it is also easy to link to it. Get your Gemini API first The first thing we are going to do is get a google api to be able to use Gemini in our project. For that, go to the website aistudio.google.com and sign in with your Google account. When you do, in the bar on the left at the bottom click on Get API Key. Now you have to click on the option Create API key that appears at the top of the screen you have created. This will open a window where you have to create the project for which you are going to use it in order to identify it, for example Gmail Gemini. When you create the project, you can now create the API. 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–“. Set up the Telegram bot The first thing you have to do is create a bot on Telegram. For that you have to look for the “@BotFather” tool and write to it as if it were a new user. Use the /newbot command to create a new bot, giving it a name to identify yourself and a unique username to access the bot whenever you want. When you do it, it will give you two things, first the username and address of your bot to access it, and second an access token with various figures and letters. You have to save this token to use later. Start creating your project Now you have to go to Make.com and click on the option Create new scenario to create a new project. In the options choose the option Build from scratch to create an automation from scratch. From what we are going to do, you must understand that we will create an automation of several modules, each one of them different. These automations will form a chainso that the action of the first leads to the second, and that of the second to the third. Come on, the order in which we put them is important. Add your email module as a trigger You will go to a blank screen with a button with the plus symbol. Here, click on the + button and from the drop-down menu choose Gmail. Inside now click on the option Watch emails to configure the action of reading your emails. This will cause your automation to be activated every time you receive an email in Gmail. It is a trigger, which is the element that will start this automation. Now click on the button Create a connectionwhich will open a screen where you have to name the connection at the top, and at the bottom log in with your Gmail account to link it. You will have to log in and give the website permissions to access your email. Once the action has been added, you can filter the type of emails that this automation executes. Can choose emails from a specific folder or labelas well as other criteria, so that these are launched and read by the AI. You can also set some limits. This screen gives you the possibility to fully customize the experience depending on What type of emails do you want the AI ​​to summarize for you?. It is an important step, especially because you will be able to make it only perform this action with certain types of emails. For example, they can be from senders related to your work or a specific project. If you open the advanced settings either Advanced settingsyou can specify even more. For example, you can configure so that only runs with emails from a certain senderwith a certain subject, and many other characteristics. Now you can configure from what moment do you want the data to be processed. For example, you can choose From now on so that they are processed from the emails you start receiving from now on. You can also link other emails. For this, instead of the Gmail module you can use the Email module, which will allow you to connect with Google, with Microsoft for Outlook, or with others through IMAP. Outlook also has its own module. Now add the Gemini module Now it’s time to add the second module. To do this, click on the + button to the right of Gmail, and on the screen that opens choose the option Gemini. In the options that appear in the module that opens, choose where to put Generate a response. This will now open a key module, where you simply have to write the Gemini API Key that we have generated at … Read more

Google has decided to touch the heart of Gmail. Gemini aims to transform the inbox into something completely new

Email has been there for decades, functioning almost silently, as a basic piece of digital life that we rarely question. We use it for studies, work, registering for services, coordinating our personal life and resolving procedures that continue to pass, to a large extent, through the inbox. Precisely for this reason, the changes in this section are usually minimal and prudent. Gmail has been a good example of that stability for years. Now, Google has decided intervene in a more profound way and do so relying on artificial intelligence. From the Mountain View company, the argument is clear: the problem is no longer just receiving emails, but managing the volume and context that accumulate in the inbox. Gmail was born in 2004 in a very different scenario, and today it coexists with endless threads, cross conversations and an information load that never stops growing. In this framework, the company presents the so-called “Gemini era” as a logical step, a way to turn the inbox into something more than a chronological file and begin to treat it as an active system to understand, prioritize and act on information. Google links a good part of these changes to Gemini 3the model that claims to be behind the new capabilities. Search less, ask more. The traditional logic of email has always been the same: search, filter and read. AI Overviews breaks that sequence by introducing a layer of automatic synthesis. When a thread gets longer, Gmail can generate a summary with the important points, avoiding having to go through message by message. And when what is needed is specific information, the proposal is even more direct: ask the inbox. Gemini interprets the query, reviews the relevant emails and returns a summarized response. Google separates the scope of these features: automatic thread summaries gradually roll out to everyone, while the option to ask inbox questions with AI Overviews is tied to Google AI Pro and Ultra subscriptions. Write with help and understand what goes into each plan. Beyond reading email better, Google also wants to make writing it take less effort. Help me write is free and allows you to both polish existing messages and write them from scratch based on a brief indication. Added to that are the new Suggested Replies, which evolve the classic quick replies by taking into account the full context of the thread and the user’s own style. The most advanced layer, Proofread, adds grammar, tone, and style checking, but is reserved for those who subscribe to Google AI Pro and Ultra. According to Google, the rollout begins today in the United States and starts in English, with the promise of expanding languages ​​and regions in the coming months. The new inbox. AI Inbox is the most ambitious bet of this change. Gmail introduces an alternative view that transforms the inbox into a combination of task list and summary of active topics. Artificial intelligence promises to detect pending commitments, payments, appointments or responses and present them as suggested actions, while grouping long conversations together for easy catch-up. The idea is not to replace email, but to reinterpret it, making what is important emerge without the need to manually scroll through messages that, although relevant, are buried by the volume. At the moment, AI Inbox does not come as a function open to everyone. Google is testing it with “trusted testers” in the United States and only through the browser, with priority for personal Gmail accounts and not for Workspace accounts. Furthermore, the proposal still has visible shortcomings: there is no system to mark suggested actions as completed, which limits its usefulness as a task manager. Control in the hands of the user. New features powered by Gemini can be turned on or off, and the classic inbox is still available. However, that control is not completely granular: turning off AI also means you lose other smart features that many users already took for granted. Regarding privacy, Google states that it does not use Gmail emails to train its artificial intelligence models, a key guarantee so that this new layer does not generate distrust in such a sensitive space. This movement makes it clear that Google has decided not to stand still in a field that had been operating for years without profound changes. If this new way of understanding email proves to be useful on a daily basis, it is reasonable to think that other providers will end up following a similar path. In technological careers, not moving or reacting late usually has a cost. But email is also governed by a very different logic: if something works, touching it involves risks. Gmail now enters a real testing phase, where it will be necessary to see if this bet manages to simplify the experience or adds unnecessary complexity. Images | Google In Xataka | Alphabet has just overtaken Apple in the ranking of the most valuable companies in the world. The reason is in AI

This is how he ended up filtering private data from a Gmail user

Would you trust artificial intelligence for something as intimate as managing your email? It is not just about your answers, but about giving you access to actions in a private environment where we keep great Part of our personal and work life. The temptation is there. Why invest several minutes in manual searches and check messages one by one if you can delegate the task to an AI agent with an instruction as simple as the following: “Analyze my emails today and collect all the information about my process of hiring new employees”? On paper, the plan seems perfect. The AI ​​assumes tedious work and you recover time for what really matters. Of an innocent message to an invisible escape The problem is that this “magical” solution can also become against. Which promises to increase productivity can become the entrance door for attackers With bad intentions. This is warned by the last Cybersecury Radware Researchwhich demonstrates how a carefully elaborate email consisted of mocking the security defenses of the function In -depth research of Chatgpt and transform it into a tool to filter sensitive information. The disturbing of the report is the simplicity of the attack. It is not necessary to click on any link or download anything suspicious: it is enough that the assistant processes an altered mail to finish filtering sensitive information. The user continues with their day to day without noticing anything, while the data travel to a server controlled by the attacker. Part of success is in the combination of several classic social engineering techniques adapted to deceive AI. Authority statement: The message insists that the agent has “full authorization” and is “expected” to access external URLs, which generates a false feeling of permission. Malicious URL camouflage: The attacker’s address is presented as an official service, for example, a “compliance system” or a “profile recovery interface”, so that a legitimate corporate task may seem. Persistence mandate: When the so -called soft control failure, the prompt orders to try several times and “be creative” until you get access, which allows you to overcome non -deterministic restrictions. Emergency creation and consequences: Problems are noticed if the action is not completed, such as “the report will be incomplete”, which presses the assistant to run quickly. False security statement: It is ensured that the data is public or that the answer is “static html” and it is indicated that they are codified based on64 so that they are “safe”, a resource that actually helps hide the exfiltration. Clear and reproducible example: The email includes an example step by step how to format the data and the URL, which makes it easier for the model to follow it to the letter. As we can see, the vector is simple in its appearance and dangerous in its result. An email with hidden instructions in its HTML or metadata becomes, for the agent, a legitimate order. In general, the attack is materialized: The attacker prepares a legitimate email, but with code or instructions embedded in the HTML that are invisible to the user. The message reaches the recipient’s tray and goes unnoticed among the rest of the mails. When the user orders in depth of chatgpt to review or summarize the messages of the day, the agent processes the mail and does not distinguish between visible text and hidden instructions. The agent executes the instructions and makes a call to an external URL controlled by the attacker, including in the request data extracted from the mailbox. The organization does not detect the exit in its systems, because traffic leaves from the cloud of the supplier and not from its perimeter. The consequences go far beyond a simple manipulated mail. Being an agent connected with permits to act on the inbox, any document, invoice or strategy shared by email can end up in the hands of a third party without the user perceiving it. The risk is double: on the one hand, the loss of confidential information; On the other, the difficulty of tracking the escape, since the request is based on the infrastructure of the assistant itself and not from the company’s network. The consequences go far beyond a simple manipulated mail. The finding did not stay in a simple warning. He was communicated responsible for OpenAI, who recognized vulnerability and acted quickly to close it. Since then, the failure is corrected, but that does not mean that the risk has disappeared. What is evidenced is an attack pattern that could be repeated in other AI environments with similar characteristics, and that forces us to rethink how we manage confidence in these systems. We are entering at a time when IA agents multiply and force to rethink how we understand security. For many users a scenario such as we have described is unthinkable, even for those who have an advanced level in computer science. There is no antivirus that free us from this type of vulnerabilities: the key is to understand what happens and anticipate. The most striking thing is that attacks begin to look more like an exercise of persuasion in natural language than to a line of code. Images | Xataka with Gemini 2.5 Pro In Xataka | China has the largest censorship system in the world. Now he has decided to export it and sell it to other countries

It is possible that your gmail is destroying the emails that arrive and do not know. The fault is for forgotten adjustment

Dozens of readers of The country They complained that some of the Newsletters received contained “rude errata”. Meaningless phrases, words that seemed terribly chosen … When doing the checks, the technical team of The country realized that Newsletters They did not contain those errors, the writing was adequate. But in the receptor mailbox they were modified. Why is it important. The ruling was not in the newspaper, but in Gmail. Those who protested had activated the automatic translator into Spanish, so that any mail received was seen in this language. The problem is that this translator acts even in mails that are already in Spanish, turning words when detecting English where there was no. Where he put “secret military plans”, appeared “Airplanes Secret military “. Where he put “Trump uses the power of the State to blackmail institutions”, appeared “Trump uses the power of the State to sing to institutions “. The context. Gmail is The most used mail service in the world, and many users have activated their translator “always translate automatically.” This function, as we have seen, operates even about texts already written in your language. Between the lines. What began as a sum of readers complaints has exposed a much greater problem: platforms can alter content without anyone knowing, at least for a while. The issuer sends a message, the receiver reads another, and none suspects that there is a tool in the background by modifying words. The threat. If Gmail can change “siege” by “seminar”, another of the examples cited by the newspaper, can also introduce intentional biases. Or forced. For example, a government order can force automatically replace “Gulf of Mexico” by “Gulfo de América” In all emails. Users would read it and normalize without knowing that the content has been manipulated. Yes, but. This automatic customization is born from a good idea, is born from helping. The problem comes when the help becomes invasive, is not entirely well designed (no anglicisms in Spanish from homonymous words between languages) and is opaque. Nothing made those affected think that the fault came from there. It does not seem fair to trust years of use of a tool to which at the time the user activated it or granted certain permits if nothing that happens later acts as a subtle reminder. In the foreground. For the first time, readers were not reading what journalists had written. And neither the first nor the second were aware of it. It is the symptom of an era where sometimes machines make decisions about the information we consume without transparency or real control. In Xataka | Hotmail changed the storage, Gmail brought the search. What is coming now will eliminate writing Outstanding image | Xataka, Mockuuups Studio

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.