Create a digest of outlook emails using openai api
poetry install
- poetry run python build.py
- EXE can be found in dist\Email Summariser.exe
- pin EXE to task bar
e.g. create a folder at C:\Emails
-
Enable the developer part of the ribbon: Right-click on ribbon > Customise Ribbon > Check Developer
-
On Develop Tab Click "Visual Basic"
-
Right Click on Modules > Import File > Import vba/modEmails.bas
-
If applicable change M_STR_EMAIL_FOLDER to your email folder (default is C:\Emails).
-
Manually run the export once by clicking into RunSaveEmailsToJsonFiles and pressing F5
-
To automate export Double-click on "ThisOutlookSession" and paste in the following code
Option Explicit
Private Sub Application_ItemLoad(ByVal Item As Object)
RunSaveEmailsToJsonFiles
End Sub
Private Sub Application_Reminder(ByVal Item As Object)
RunSaveEmailsToJsonFiles
End Sub
- Click on the Email Summariser Icon in your task bar
- Click generate summary