group ()) # Split data split_list = title_pub. search ( r "+(?=\(|sans-serif'>(*?))", header ) # HTML unescape to get remove remaining HTML title_pub = html. findall ( pattern, body ) for header in results : regex = re. group () # Search email body text for unique entries pattern = r "li class= \" MsoListParagraph \" (*?)" results = re. join ( folder_path, email_list )) # Search email HTML for body text regex = re. GetNamespace ( "MAPI" ) # Iterate through every email for i, _ in enumerate ( email_list ): # Create variable storing info from current email being parsed msg = outlook. normpath ( askdirectory ( title = 'Select Folder' )) # Initialise & populate list of emails email_list = # Connect to Outlook with MAPI outlook = win32com. It’s not much different than setting up notifications for a sale or for a bill, especially if you’re responding through Google Calendar.Import sqlite3 from tkinter.filedialog import askdirectory import os, re, html import win32com.clientĭef main (): # Set up database db = setup () # Create an folder input dialog with tkinter folder_path = os. Rather than hope you catch an email, set up a parser to send you a notification via SMS when you receive an invitation that requires an RSVP. The downside, of course, is that it’s so easy to miss one email in a sea of hundreds. Never Miss an InvitationĪlthough the progression of technology has resulted in the word “e-vite,” it’s not all bad–it’s easier than ever now to send out invitations to events and receive responses through email. Sending them to your phone will remind you to check your email later to follow up. If you choose to enter the sales into a Google Sheets page, you may want to also include a link to the sale itself so you can more easily find it. Once you set up the parser, you can create a Zap to enter these into a Google Sheets page or you can have them sent straight to your phone. This is what a sales ad from GOG.com looks like:īy designating different names to each field, you can keep them tied together when you assign the values later. Emails do not have to be identical in format, but it helps if the sender uses a similar format each time. All you have to do is forward the sales newsletter to the parser and set up a dedicated alert. If you’re subscribed to a lot of newsletters, you risk missing a notice about one of those sales.Īn easy way around the madness is to set up an email parser that automatically looks for discounts and sends you an SMS about them.įor example, fans of GOG.com might want to be notified when a game goes on sale. More retailers than ever before use email as a way to reach out about sales and discounts. There are many other ways to use the email parser besides just staying on top of bill payments. In the case of bills, an easy way to stay notified is to connect the data through SMS messaging. When everything is set up, you need to connect Zapier’s email parser to another tool through a Zap. Most bills originate from a address, which makes it easy to send those along. Set up a filter inside your inbox to automatically forward emails from the same address straight to the parser. It works best if you have an individual parser set aside for specific tasks in this instance, combing through bills from the power company. Once you’ve set the parser up, you need to go into your email and automatically forward similar emails to the system.