Thanks for the question - yeah, running in MM and I’m enjoying it. I attached a link to a screenshot of your summarized email so you can see what the result looks like...
This is a migration of a capability that I have used with NeoMutt for a while - jam the e-mail body into OpenAI and get a summarized response. I use it A LOT - frankly, it's used on almost all my e-mails - unless from my wife ;) (Well, mostly!)
I created the OpenAI capability because it's a WHOLE LOT CHEAPER to purchase $20 (US) of OpenAI credits instead of paying a monthly, recurring $20 where I have to copy/paste to do the same thing. I also use a similar command line function to call OpenAI functions: Emulating ChatGPT for text queries. You can make a LOT of calls for very little $. You can ALSO change the OpenAI Model to suit your preference.
I'd probably have to do a significant write up on all the technical requirements since I was initially thinking this would appeal to existing OpenAI API users.
I'd prefer to create a set of docs for each of these steps in a repository of some sort; I'd be curious if this will reach the quality level to become part of the MM options. I think the documentation should/would be appropriate as part of the bundle distribution.
Link to my desktop screenshot: https://user.fm/files/v2-f3e98528532bdb14506e31ae7a6efd7b/OpenAI%20Screenshot.png
-
Jim Bates
(804) 690-9143 (Cell/Signal)
On 25 Jun 2025, at 14:07, Henry Seiden wrote:
Sounds interesting. I’ll give it a go if there’s a chance of success. I take it you have this running in MM and summarizing the email messages. Are you satisfied with the result?
Please explain a bit more about the install and key parts for someone who hasn’t used Open AI installation for novices like me, using Homebrew in Terminal or a link to the process as it relates to MM - Homebrew, API references, calls, variables to add, etc.
Respectfully,
Henry Seiden
Techworks Pro Co.
E: info<at>techworkspro<dot>com
W: http://techworkspro.com
On 25 Jun 2025, at 12:36, Jim Bates via mailmate wrote:
Help with a Bundle
MailMate fans...
I have created a bundle, yes, my very first one...
Purpose
This bundle allows you to use your personal OpenAPI API KEY to summarize the body of an e-mail.
Requirements
Homebrew
You need to install 2 packages:
brew install w3m zenity
Environment Variables
- You need to create a
.openai in your home directory
- Add 2 variables:
export OPENAI_API_KEY="sk-proj-<YOUR KEY HERE>m4A”
export OPENAI_MODEL="gpt-4o"
I was wondering a few things:
- Is there a way to host on the MailMate bundle site and allow updates/fixes?
- Is there a process to submit this as a MailMate bundle and get on the "Bundles List for 'others'"? (Not that I'm arrogant enough to suggest it at this point :) )
-
Jim Bates
(804) 690-9143 (Cell/Signal)
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate
mailmate mailing list
Unsubscribe: https://lists.freron.com/listinfo/mailmate