Files
Memoh/assets/getting-started_email.md.DN5WsFFI.js
2026-04-23 13:02:42 +00:00

2 lines
4.4 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{_ as i,o as a,c as o,ag as t}from"./chunks/framework.CAXxHpAX.js";const m=JSON.parse('{"title":"Email Providers and Bindings","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started/email.md","filePath":"getting-started/email.md","lastUpdated":1772359263000}'),n={name:"getting-started/email.md"};function r(l,e,s,d,g,c){return a(),o("div",null,[...e[0]||(e[0]=[t('<h1 id="email-providers-and-bindings" tabindex="-1">Email Providers and Bindings <a class="header-anchor" href="#email-providers-and-bindings" aria-label="Permalink to &quot;Email Providers and Bindings&quot;"></a></h1><p>Memoh allows your Bot to send and receive emails, providing another powerful channel for communication and task management.</p><h2 id="concept-email-as-a-bot-channel" tabindex="-1">Concept: Email as a Bot Channel <a class="header-anchor" href="#concept-email-as-a-bot-channel" aria-label="Permalink to &quot;Concept: Email as a Bot Channel&quot;"></a></h2><p>Connecting email to your Bot involves two steps:</p><ol><li><strong>Email Provider</strong>: Configure a connection to an email service (like Mailgun or a generic SMTP server).</li><li><strong>Email Binding</strong>: Link a specific email address from a provider to a Bot.</li></ol><hr><h2 id="email-provider" tabindex="-1">Email Provider <a class="header-anchor" href="#email-provider" aria-label="Permalink to &quot;Email Provider&quot;"></a></h2><p>Manage your email service connections from the <strong>Email Provider</strong> page in the sidebar.</p><h3 id="creating-a-provider" tabindex="-1">Creating a Provider <a class="header-anchor" href="#creating-a-provider" aria-label="Permalink to &quot;Creating a Provider&quot;"></a></h3><ol><li>Navigate to the <strong>Email Provider</strong> page from the sidebar.</li><li>Click <strong>Add Email Provider</strong>.</li><li>Choose the provider type: <ul><li><strong>Mailgun</strong>: For high-volume delivery.</li><li><strong>Generic SMTP</strong>: For traditional email servers.</li></ul></li><li>Fill in the required fields (e.g., <code>domain</code>, <code>api_key</code>, <code>host</code>, <code>port</code>, <code>username</code>, <code>password</code>).</li><li>Click <strong>Create</strong>.</li></ol><hr><h2 id="bot-email-bindings" tabindex="-1">Bot Email Bindings <a class="header-anchor" href="#bot-email-bindings" aria-label="Permalink to &quot;Bot Email Bindings&quot;"></a></h2><p>Configure your bot&#39;s email capabilities from the <strong>Email</strong> tab in the Bot Detail page.</p><h3 id="adding-a-binding" tabindex="-1">Adding a Binding <a class="header-anchor" href="#adding-a-binding" aria-label="Permalink to &quot;Adding a Binding&quot;"></a></h3><ol><li>Click <strong>Add Binding</strong>.</li><li>Select the <strong>Email Provider</strong> you created.</li><li>Provide the <strong>Email Address</strong> to be associated with the bot.</li><li>Set the bot&#39;s permissions: <ul><li><strong>Can Read</strong>: If enabled, the bot can check and process incoming emails.</li><li><strong>Can Write</strong>: If enabled, the bot can compose and send outgoing emails.</li><li><strong>Can Delete</strong>: If enabled, the bot can manage its own email inbox.</li></ul></li><li>Click <strong>Create</strong>.</li></ol><hr><h2 id="outbox-and-history" tabindex="-1">Outbox and History <a class="header-anchor" href="#outbox-and-history" aria-label="Permalink to &quot;Outbox and History&quot;"></a></h2><p>The <strong>Email</strong> tab also provides an <strong>Outbox</strong> showing an audit log of all emails sent by the bot:</p><ul><li><strong>To</strong>: The recipient&#39;s email address.</li><li><strong>Subject</strong>: The email&#39;s subject line.</li><li><strong>Status</strong>: Whether the email was sent successfully.</li><li><strong>Sent At</strong>: The timestamp of the email delivery.</li></ul><hr><h2 id="bot-interaction" tabindex="-1">Bot Interaction <a class="header-anchor" href="#bot-interaction" aria-label="Permalink to &quot;Bot Interaction&quot;"></a></h2><ul><li>The bot can use its email permissions to <strong>send reports</strong>, <strong>respond to user inquiries</strong>, or <strong>trigger actions</strong> based on incoming mail.</li><li>Outgoing emails are tracked in the outbox for monitoring and troubleshooting.</li><li>The bot handles email in a structured way, allowing it to &quot;converse&quot; via email just as it does via chat.</li></ul>',22)])])}const u=i(n,[["render",r]]);export{m as __pageData,u as default};