<!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;">
<h2>Is there a bundle providing email body summary using openai api's?</h2>
<p dir="auto">As I convert from NeoMutt, I am looking for functional replacements for tools I've built over the years. One of my favorites is a macro which dumps the e-mail body to a curl script calling an OpenAI API which provides a markdown bullet style summary of the e-mail. I want to replicate that with MM.</p>
<p dir="auto">I have not (again YET) learned how to build a bundle, but I'm slowly working my way there...</p>
<p dir="auto">Was thinking the following:</p>
<ul>
<li>Environment Variables:
<ul>
<li>OPENAI_KEY</li>
<li>OPENAI_MODEL</li>
<li>OPENAI_CONTEXT</li>
</ul>
</li>
<li>MM
<ul>
<li>How to export the (text) body | pipe | stdout | etc</li>
</ul>
</li>
</ul>
<p dir="auto">Anyway, looks like a fun project to me <strong>BUT</strong> I'd rather not recreate the wheel either; if anyone has a bundle which produces this capability - please let me know :)</p>
<p dir="auto">Jim</p>
</div>
</div>
</body>
</html>