Run the Midway setup command and enter your SMTP server hostname or IP address when prompted. The setup then asks for the SMTP port (default 587), username, password, sender address, and recipient address. Leave the server prompt empty to skip SMTP setup.The settings are saved under tokens.email_smtp in midway.yaml:
By default, Midway sends notifications to all configured methods. To restrict delivery to email, define notification.send_to with Email in the list:
notification: send_to: - Email pick_from: All
When notification.send_to is defined, configured methods left out of the list will not receive notifications. pick_from can further select a subset of the listed methods; All selects every listed method.
The SMTP password is stored in midway.yaml, so protect that file as you
would any file containing credentials.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Midway Docs","colors":{"primary":"#FFB547","light":"#FFC96B","dark":"#D98A0B"},"logo":{"light":"https://mintcdn.com/midway/JvAmQKnjmYoGAlqZ/logo/light.svg?fit=max\u0026auto=format\u0026n=JvAmQKnjmYoGAlqZ\u0026q=85\u0026s=03d65038edf00ca02de72c734abd5d98","dark":"https://mintcdn.com/midway/JvAmQKnjmYoGAlqZ/logo/dark.svg?fit=max\u0026auto=format\u0026n=JvAmQKnjmYoGAlqZ\u0026q=85\u0026s=afe1243f21076a3b85defeae40c44cfe"},"favicon":"https://mintcdn.com/midway/JvAmQKnjmYoGAlqZ/favicon.svg?fit=max\u0026auto=format\u0026n=JvAmQKnjmYoGAlqZ\u0026q=85\u0026s=cab3038d2bbfbb5af23246be34320e98","navbar":{"primary":{"type":"github","label":"Github","href":"https://github.com/hazyio/midway"}},"footer":{"socials":{"x":"https://x.com/get_hazyio","github":"https://github.com/hazyio/midway","website":"https://midway.hazyio.com"}},"contextual":{"options":["copy","view","chatgpt","claude","aistudio"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"midway","hasAudioNarration":false,"actualSubdomain":"midway","customDomains":["midway.hazyio.com"],"gitSource":{"type":"github","owner":"hazyio","repo":"midway","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":"","_id":"6b1104269ffae5051c41f0f2"},"entitlements":{},"buildId":"6ad3942b9d6722b31b032367","clientVersion":"0.0.4436","searchFilterCounts":[{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"AI Agents","count":8},{"language":"default","tag":"Getting Started","count":7},{"language":"default","tag":"Notifications","count":6},{"language":"default","tag":"Installation","count":5},{"language":"default","tag":"Commands","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"notifications/email","slug":"/notifications/email","pageMetadata":{"title":"Email notifications","description":"Configure SMTP settings for Midway","href":"/notifications/email"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure SMTP settings for Midway\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`configure-smtp`,children:`Configure SMTP`}),`\n`,_jsxs(_components.p,{children:[`Run the Midway setup command and enter your SMTP server hostname or IP address when prompted. The setup then asks for the SMTP port (default `,_jsx(_components.code,{children:`587`}),`), username, password, sender address, and recipient address. Leave the server prompt empty to skip SMTP setup.`]}),`\n`,_jsxs(_components.p,{children:[`The settings are saved under `,_jsx(_components.code,{children:`tokens.email_smtp`}),` in `,_jsx(_components.code,{children:`midway.yaml`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`tokens`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\temail_smtp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\t\tsmtp_server`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"smtp.example.com\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\t\tsmtp_port`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`587`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\t\tusername`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SMTP_USERNAME\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\t\tpassword`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SMTP_PASSWORD\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\t\tfrom_email`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\t\tto_email`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"[email protected]\"`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`enable-email-notifications`,children:`Enable email notifications`}),`\n`,_jsxs(_components.p,{children:[`By default, Midway sends notifications to all configured methods. To restrict delivery to email, define `,_jsx(_components.code,{children:`notification.send_to`}),` with `,_jsx(_components.code,{children:`Email`}),` in the list:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`yaml`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`yaml`,children:_jsxs(_components.code,{language:`yaml`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`notification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\tsend_to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\t\t- `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Email`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`\tpick_from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`All`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`notification.send_to`}),` is defined, configured methods left out of the list will not receive notifications. `,_jsx(_components.code,{children:`pick_from`}),` can further select a subset of the listed methods; `,_jsx(_components.code,{children:`All`}),` selects every listed method.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`The SMTP password is stored in `,_jsx(_components.code,{children:`midway.yaml`}),`, so protect that file as you\nwould any file containing credentials.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Email notifications","description":"Configure SMTP settings for Midway","href":"/notifications/email"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Configure SMTP","slug":"configure-smtp","depth":2,"children":[]},{"title":"Enable email notifications","slug":"enable-email-notifications","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"midway","siteName":"Midway Docs","title":"Email notifications - Midway Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-17T10:30:03.177Z","originalFileLocation":"notifications/email.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure SMTP settings for Midway\">\u003cmeta data-mint-head name=\"application-name\" content=\"Midway Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Email notifications - Midway Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure SMTP settings for Midway\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Midway Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://midway.hazyio.com/notifications/email\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://midway.mintlify.site/_mintlify/api/og/v2?division=Notifications\u0026amp;title=Email+notifications\u0026amp;description=Configure+SMTP+settings+for+Midway\u0026amp;theme=07e9bf19788da12e2df99c7c\u0026amp;signature=43882e2a97770a9e41223257c5534892faaff94bc7b0dd74ef80f4fb4cc4212d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Email notifications - Midway Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure SMTP settings for Midway\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://midway.mintlify.site/_mintlify/api/og/v2?division=Notifications\u0026amp;title=Email+notifications\u0026amp;description=Configure+SMTP+settings+for+Midway\u0026amp;theme=07e9bf19788da12e2df99c7c\u0026amp;signature=43882e2a97770a9e41223257c5534892faaff94bc7b0dd74ef80f4fb4cc4212d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/midway/0DfKWD0Km_afqSnB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Midway Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFB547\">\u003clink data-mint-head rel=\"canonical\" href=\"https://midway.hazyio.com/notifications/email\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/notifications/email.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://midway.hazyio.com/#organization\",\"name\":\"Midway Docs\",\"url\":\"https://midway.hazyio.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/midway/JvAmQKnjmYoGAlqZ/logo/light.svg?fit=max\u0026auto=format\u0026n=JvAmQKnjmYoGAlqZ\u0026q=85\u0026s=03d65038edf00ca02de72c734abd5d98\"}},{\"@type\":\"WebSite\",\"@id\":\"https://midway.hazyio.com#website\",\"name\":\"Midway Docs\",\"url\":\"https://midway.hazyio.com\",\"publisher\":{\"@id\":\"https://midway.hazyio.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://midway.hazyio.com/notifications/email#webpage\",\"url\":\"https://midway.hazyio.com/notifications/email\",\"name\":\"Email notifications\",\"description\":\"Configure SMTP settings for Midway\",\"dateModified\":\"2026-10-17T10:30:03.177Z\",\"isPartOf\":{\"@id\":\"https://midway.hazyio.com#website\"},\"breadcrumb\":{\"@id\":\"https://midway.hazyio.com/notifications/email#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://midway.hazyio.com/notifications/email#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Guides\",\"item\":\"https://midway.hazyio.com/commands/init\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Notifications\",\"item\":\"https://midway.hazyio.com/notifications/local\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Email notifications\",\"item\":\"https://midway.hazyio.com/notifications/email\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://midway.hazyio.com/notifications/email#article\",\"headline\":\"Email notifications\",\"name\":\"Email notifications\",\"description\":\"Configure SMTP settings for Midway\",\"url\":\"https://midway.hazyio.com/notifications/email\",\"mainEntityOfPage\":{\"@id\":\"https://midway.hazyio.com/notifications/email#webpage\"},\"dateModified\":\"2026-10-17T10:30:03.177Z\",\"publisher\":{\"@id\":\"https://midway.hazyio.com/#organization\"},\"isPartOf\":{\"@id\":\"https://midway.hazyio.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Midway Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Midway Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/notifications/email.md","siteName":"Midway Docs","nav":{"global":null,"pages":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/index"},{"group":"Installation","expanded":false,"pages":[{"title":"Installation","href":"/installation/index"},{"title":"Cargo","href":"/installation/cargo"},{"title":"Release binary","href":"/installation/release-binary"},{"title":"Shell script","href":"/installation/shell-script"},{"title":"Windows","href":"/installation/windows"}]},{"title":"Configuration","href":"/config"}]},{"group":"Guides","pages":[{"group":"Commands","expanded":false,"pages":[{"title":"Initialize configuration","href":"/commands/init"},{"title":"Run a command","href":"/commands/run"},{"title":"Open Midway","href":"/commands/open"},{"title":"Send a text notification","href":"/commands/send-text"}]},{"group":"AI Agents","expanded":false,"pages":[{"title":"AI agent notifications","href":"/agents/index"},{"title":"Claude Code","href":"/agents/claude-code"},{"title":"Codex CLI","href":"/agents/codex-cli"},{"title":"GitHub Copilot","href":"/agents/github-copilot"},{"title":"Gemini CLI","href":"/agents/gemini-cli"},{"title":"Antigravity CLI","href":"/agents/antigravity-cli"},{"title":"OpenCode","href":"/agents/opencode"},{"title":"Cursor","href":"/agents/cursor"}]},{"group":"Notifications","expanded":false,"pages":[{"title":"Local notifications","description":"Show Midway notifications on your computer","href":"/notifications/local"},{"title":"Email notifications","href":"/notifications/email"},{"title":"Slack notifications","description":"Connect Midway to a Slack channel with an incoming webhook","href":"/notifications/slack"},{"title":"Ntfy notifications","href":"/notifications/ntfy"},{"title":"Discord notifications","href":"/notifications/discord"},{"title":"Telegram notifications","href":"/notifications/telegram"}]}]}]},"basePath":"","title":"Email notifications - Midway Docs","deploymentId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","buildId":"dpl_AYyV3CY85Zsy44WzfDVuMiAS7PWU","dynamics":[],"chunks":[]}