Skip to content

Releases: dannyvfilms/gptemailsummary

V4.1

19 Apr 03:01
d17dbca
Compare
Choose a tag to compare

Shortcut (ElevenLabs): https://www.icloud.com/shortcuts/820a1be086d444168fa14312230aa093
Shortcut (Siri): https://www.icloud.com/shortcuts/f87f7b4839064904896ce642f068581f

Shortcut changes:

  1. No changes.

Script Changes:

  1. OpenAI Prompt adjusts if no emails are present, ensuring it does not fabricate emails to summarize.
  2. OpenAI Prompt should adjust if code errors are caught in the function, and include the errors in the prompt.
  3. Locks will prevent a new payload from being generated if a summary is currently being made (to prevent time-out errors).
  4. Lock was supposed to interrupt payload generation if a summary was being made, but that may need to be revisited.

V4

16 Apr 19:07
b0a15fb
Compare
Choose a tag to compare
V4

Updated Shortcut (ElevenLabs): https://www.icloud.com/shortcuts/820a1be086d444168fa14312230aa093
Updated Shortcut (Siri): https://www.icloud.com/shortcuts/f87f7b4839064904896ce642f068581f

Shortcut changes:

  1. Removed Fetch Latest Emails command in favor of constantly generating payload server-side
  2. Removes automatic Mark Emails as Read function in favor of button (useful in case of Request Timeouts)
  3. Changed Statistics to use Quick Look

Script Changes:

  1. Rewrote the entire script to use the IMAP Protocol instead of Gmail's API
  2. Email payload is recreated every minute to reduce wait time for summary (use gpt3.5-turbo for faster results than gpt-4)
  3. Multi-Account Support is now available
  4. Mark Emails as Read is now a manual action
  5. <container_ip>:1337 will now load a draft of the WebUI. No data connections have been made.
  6. Additional print statements for logging.

Full Changelog: V3...V4

V3

04 Apr 21:37
f8010ba
Compare
Choose a tag to compare
V3

Updated Shortcut (ElevenLabs): https://www.icloud.com/shortcuts/7deb48573ab64f13a666fa8c63373c88
Updated Shortcut (Siri): https://www.icloud.com/shortcuts/563377e1888a481fb2397a5fb3e260cc

Shortcut changes:

  1. Correctly grabs Summary so "Summary" and "\n" aren't read out loud
  2. Adds Statistics value for more information after the run finishes

Script Changes:

  1. Variable Quantity = true/false is now functional
  2. EMAIL_MAXEMAILS will be used when Variable Quantity = false
  3. Added additional html code filtering
  4. Mark emails as read in a separate thread after sending response payload to reduce request timeout instances

Full Changelog: V2.1...V3

V2.1

03 Apr 00:43
dbbb753
Compare
Choose a tag to compare

Updated Shortcut: https://www.icloud.com/shortcuts/3f898be2dc6d4c7386d395bf225f1b2c

  1. Added additional filtering to remove_html_and_links
  2. Included sender and subject to count_characters to fix a character limit bypass
  3. Updated regex in Shortcut due to a formatting change

V2

01 Apr 20:29
1e1b128
Compare
Choose a tag to compare
V2

Uses a character limit to dynamically pull more emails to fit in OpenAI API Payload. V3 will use EMAIL_VARIABLEQUANTITY=true for this workflow, while EMAIL_VARIABLEQUANTITY=false will rely on EMAIL_MAXEMAILS for the amount to pull.

Terminal logs are far more verbose, so I added boxes and a nice summary at the end.

Full Changelog: alpha...V2

V1

01 Apr 20:24
1e1b128
Compare
Choose a tag to compare
V1

Initial release. Pulls 10 emails for summary. View Readme for installation instructions.