<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jasim K on Medium]]></title>
        <description><![CDATA[Stories by Jasim K on Medium]]></description>
        <link>https://medium.com/@jasimkhomi?source=rss-43a09c9e56e9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*oC4BVAbIDLhVY_C4.</url>
            <title>Stories by Jasim K on Medium</title>
            <link>https://medium.com/@jasimkhomi?source=rss-43a09c9e56e9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 17:56:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jasimkhomi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automate Your Email Filters and Save Hours of Your Time with ChatGPT]]></title>
            <link>https://medium.com/@jasimkhomi/automate-your-email-filters-and-save-hours-of-your-time-with-chatgpt-3fedfc04b994?source=rss-43a09c9e56e9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fedfc04b994</guid>
            <category><![CDATA[email-automation]]></category>
            <category><![CDATA[email-productivity]]></category>
            <category><![CDATA[email-filtering]]></category>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Jasim K]]></dc:creator>
            <pubDate>Fri, 31 Mar 2023 12:36:43 GMT</pubDate>
            <atom:updated>2023-04-14T10:41:33.160Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s digital world, email has become an integral part of our lives. Our inboxes are constantly flooded with with spam, newsletters, marketing emails,etc.</p><p>Email filters provide a solution by categorizing and organizing emails, simplifying the inbox management process.<br>However, creating and maintaining email filters can be frustrating and time-consuming, requiring constant updates and rule changes to keep up with new trends.</p><p>Fortunately, there is a solution to this problem — email filter automation.</p><p>With the help of ChatGPT and PowerAutomate, we can now automate the email filter creation and management process.</p><p>We can use Power Automate, or any other workflow automation tool such as <a href="https://medium.com/u/530c4c926670">Zapier</a> which can be triggered on a new email arrival and has integration with ChatGPT.</p><p>To do so, we should create a trigger when a new email arrives and parse the email body to text,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*BytXlWM6HXkWk2jmH9xQAQ.png" /></figure><p>Next is where the magic happens, we create a ChatGPT prompt which will help us categorize the emails. We create a ChatGPT prompt asking it to read our email body and categorize it into 3 categories: IT Email, AI, Marketing and Other.</p><p>The prompt is saved as a variable which we will send to the ChatGPT API call.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*7vMWw6IjnYQyvH66qmcqAg.png" /></figure><p>We will then create an API call to ChatGPT and send it the prompt,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*Fruuui4mL9yklg8ud4kSZQ.png" /></figure><p>The response of the API call will be in a JSON format, we have to parse it and get the text response which will be one of these values, “IT Email”, “AI”, “Marketing” or “Other”. Once we get the category of email, we can use the email plus feature and set the recipient email as follows,</p><p>If Category IT, email = jasim+it@company.com , if Category = AI, email = jasim+ai@company.com etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*UJYx1Ta9R4vQN_6TqIOfqQ.png" /></figure><p>Once the final email is set, we would simply forward the email and create filters for them in our mailbox,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*1ee9U0SNvbLBUhcw3rk0jg.png" /></figure><p>So as you can see, the benefit of using ChatGPT is clear. We don’t have to filter based on subject, or sender domain anymore. We can allow ChatGPT to read the email body and identify the kind of email it is and auto categorize it.</p><p>If we have to add more categories then we can simply edit the ChatGPT prompt as and when required.</p><p>I’ve skipped a lot of steps in Power Automate inorder to make this post small, if anyone is interested in the complete flow, they can PM me.</p><p>I’d like to express my gratitude to <a href="https://medium.com/u/fb44e21903f3">The PyCoach</a> for inspiring me to write this article, as his articles have motivated me to share my thoughts and ideas on Medium for the first time.</p><p>I would also like to thank <a href="https://medium.com/u/d5c524f3e0cb">Vikrant G</a> for collaborating on the PowerAutomate flow with me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fedfc04b994" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>