<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto">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...</p>
<p dir="auto">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!)</p>
<p dir="auto">I created the OpenAI capability because it's a <strong>WHOLE LOT CHEAPER</strong> 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 <strong>LOT</strong> of calls for very little $.  You can ALSO change the OpenAI <strong>Model</strong> to suit your preference.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">Link to my desktop screenshot: <a href="https://user.fm/files/v2-f3e98528532bdb14506e31ae7a6efd7b/OpenAI%20Screenshot.png" style="color: #3983C4;">https://user.fm/files/v2-f3e98528532bdb14506e31ae7a6efd7b/OpenAI%20Screenshot.png</a></p>
<p dir="auto">-<br>
Jim Bates<br>
(804) 690-9143 (Cell/Signal)</p>
<p dir="auto">On 25 Jun 2025, at 14:07, Henry Seiden wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">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?</p>
<p dir="auto">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.</p>
<p dir="auto">Respectfully,</p>
<p dir="auto">Henry Seiden</p>
<ul>
<li>
<ul>
<li></li>
</ul>
</li>
</ul>
<p dir="auto">Techworks Pro Co.<br>
E: info<at>techworkspro<dot>com<br>
W: <a href="http://techworkspro.com" style="color: #777777;">http://techworkspro.com</a></p>
<p dir="auto">On 25 Jun 2025, at 12:36, Jim Bates via mailmate wrote:</p>
<blockquote style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; border-left-color: #999999; color: #999999;">
<h1>Help with a Bundle</h1>
<p dir="auto">MailMate fans...<br>
I have created a bundle, yes, my very first one...</p>
<h2>Purpose</h2>
<p dir="auto">This bundle allows you to use your personal OpenAPI API KEY to summarize the body of an e-mail.</p>
<h2>Requirements</h2>
<h3>Homebrew</h3>
<p dir="auto">You need to install 2 packages:</p>
<ul>
<li>w3m</li>
<li>zenity</li>
</ul>
<p dir="auto"><code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">brew install w3m zenity</code></p>
<h3>Environment Variables</h3>
<ul>
<li>You need to create a <code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">.openai</code> in your home directory</li>
<li>Add 2 variables:</li>
</ul>
<p dir="auto"><code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">export OPENAI_API_KEY="sk-proj-<YOUR KEY HERE>m4A”</code><br>
<code style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">export OPENAI_MODEL="gpt-4o"</code></p>
<h2>I was wondering a few things:</h2>
<ul>
<li>Is there a way to host on the MailMate bundle site and allow updates/fixes?</li>
<li>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 :) )</li>
</ul>
<p dir="auto">-<br>
Jim Bates<br>
(804) 690-9143 (Cell/Signal)</p>
<hr style="border: 0; height: 1px; background: #333; background-image: linear-gradient(to right, #ccc, #333, #ccc);">
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate" style="color: #999999;">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>
<hr style="border: 0; height: 1px; background: #333; background-image: linear-gradient(to right, #ccc, #333, #ccc);">
<p dir="auto">mailmate mailing list<br>
Unsubscribe: <a href="https://lists.freron.com/listinfo/mailmate" style="color: #777777;">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>

</div>
</div>
</body>

</html>