PageSourceSearch

https://orygofrontend-production.up.railway.app/_next/static/chunks/pages/docs/email-f3a6b9de4c91aeb1.js

js orygofrontend-production.up.railway.app collected 2026-10-03 12:15:02 UTC 5,989 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{16424:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/email",function(){return r(19358)}])},19277:(e,n,r)=>{"use strict";r.d(n,{A:()=>s});var o=r(37876),i=r(72943),t=r(14e3);r(14232);var a=r(19619);let s=e=>n=>{let r=(0,i.J)(),s=(0,t.useRouter)();return r.loading?(0,o.jsx)("div",{children:"Loading..."}):null===r?void s.push("/auth"):(0,o.jsx)(a.SessionAuth,{onSessionExpired:()=>s.refresh(),userContext:r.user||void 0,children:(0,o.jsx)(e,{...n})})}},19358:(e,n,r)=>{"use strict";r.r(n),r.d(n,{default:()=>p});var o=r(37876),i=r(19277),t=r(43123),a=r(39822),s=r(20529),d=r(32485);r(14232);var l=r(14741),u=r(53224),c=r(12324),m=r(82703);function g(){let{resolvedTheme:e}=(0,m.j)();return(0,o.jsx)(a.a,{w:"100%",children:(0,o.jsx)(l.oz,{remarkPlugins:[u.A],components:(0,c.A)({},void 0,!1,e||"dark","sm",!0),children:"## Email Channel Setup Guide\n\nThe OrygoAI Email channel lets your AI agent receive and reply to emails automatically. You forward incoming support emails to a dedicated OrygoAI address, and the AI handles the rest.\n\n---\n\n### Basic Setup (Forwarding Only)\n\nIn this mode, OrygoAI receives forwarded emails and replies from an `@inbound.orygo.ai` address.\n\n#### Step 1: Get Your Receiving Address\n\nWhen you enable the Email integration in OrygoAI, you'll be assigned a unique receiving address like:\n\n```\[email protected]\n```\n\nEnter this address in the **EMAIL_RECEIVING_ADDRESS** field when configuring the integration.\n\n#### Step 2: Set Up Gmail Auto-Forwarding\n\n1. Open Gmail, go to **Settings** (gear icon) > **See all settings**\n2. Go to the **Forwarding and POP/IMAP** tab\n3. Click **Add a forwarding address**\n4. Enter your receiving address (e.g. `[email protected]`)\n5. Gmail will send a confirmation email — contact the OrygoAI team to retrieve the confirmation code\n6. Enter the confirmation code in Gmail to verify the address\n7. Choose how to forward:\n   - **Forward a copy of incoming mail** — forwards all emails\n   - **Create a filter** (recommended) — forward only specific emails\n\n> **Tip**: Using a Gmail filter is usually better than forwarding everything. For example, create a filter for `to:[email protected]` and set it to forward to your OrygoAI receiving address.\n\n#### What Happens Next\n\n1. A customer sends an email to your support address (e.g. `[email protected]`)\n2. Gmail forwards it to your OrygoAI receiving address\n3. The AI reads the email, including any image attachments\n4. The AI generates a reply using your agent's knowledge base and tools\n5. The reply is sent to the customer\n\nIn basic mode, the reply comes from your `@inbound.orygo.ai` address.\n\n---\n\n### Advanced Setup (Custom From Address)\n\nIn this mode, the AI replies appear to come from your own domain (e.g. `[email protected]`), providing a seamless experience for your customers.\n\n#### Step 1: Provide Your Sending Domain\n\nContact the OrygoAI team with the domain you'd like to send from (e.g. `yourdomain.com`). We'll provide you with DNS records to add.\n\n#### Step 2: Add DNS Records\n\nAdd the following records to your domain's DNS settings (exact values will be provided by OrygoAI):\n\n| Type | Purpose |\n|---|---|\n| **TXT** (SPF) | Authorizes OrygoAI to send emails on behalf of your domain |\n| **CNAME** (DKIM) | Provides cryptographic email authentication |\n\n> These records ensure your emails are properly authenticated and don't end up in spam.\n\n#### Step 3: Confirm Verification\n\nOnce you've added the DNS records, let the OrygoAI team know. Verification typically takes a few minutes but can take up to 48 hours for DNS propagation.\n\n#### Step 4: Update Your Integration\n\nAfter verification, add your email address to the **EMAIL_CUSTOMER_ADDRESS** field in the integration settings (e.g. `[email protected]`).\n\nWith this configured:\n- AI replies are sent **from** your own email address\n- Customers see your brand, not an OrygoAI address\n- Email threading is fully preserved\n\n---\n\n### Troubleshooting\n\n**Emails not arriving at OrygoAI**\n- Check that Gmail forwarding is confirmed and active in Settings > Forwarding\n- Ensure your filter rules are matching the correct emails\n- DNS changes can take up to 48 hours to propagate\n\n**AI replies going to spam**\n- Make sure SPF and DKIM records are correctly configured (advanced setup)\n- Newly verified domains may have low reputation — this improves over time\n\n**Gmail forwarding confirmation**\n- When you add the forwarding address in Gmail, Google sends a confirmation email to OrygoAI. Contact the OrygoAI team to get the confirmation code.\n"})})}var h=r(54616);
1let p=(0,i.A)(function(){return(0,o.jsx)(h.G,{scope:"agent_config",excludeRoles:[3],children:(0,o.jsx)(t.s,{w:"100%",flexDirection:"column",alignItems:"center",children:(0,o.jsxs)(a.a,{w:"100%",position:"relative",children:[(0,o.jsx)(s.D,{size:"lg",mb:"6",children:"Email Integration"}),(0,o.jsx)(g,{}),(0,o.jsx)(d.h,{my:"2rem"})]})})})})},32485:(e,n,r)=>{"use strict";r.d(n,{h:()=>o});let o=(0,r(57175).B)("div",{base:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});o.displayName="Spacer"},54616:(e,n,r)=>{"use strict";r.d(n,{G:()=>l});var o=r(37876),i=r(14232),t=r(89099),a=r(39822),s=r(95563),d=r(7446);function l(e){let{scope:n,children:r,fallback:l,excludeRoles:u}=e,c=(0,t.useRouter)(),{isLoading:m,hasAll:g,roleId:h,isGameMaster:p}=(0,d.bV)(),y=Array.isArray(n)?n:[n],f=!p&&!!(null==u?void 0:u.includes(h)),A=!m&&g(...y)&&!f,v=!m&&!A;return((0,i.useEffect)(()=>{v&&!l&&c.replace("/forbidden")},[v,l,c]),m)?(0,o.jsx)(a.a,{w:"100%",minH:"60vh",display:"flex",alignItems:"center",justifyContent:"center",children:(0,o.jsx)(s.y,{size:"md"})}):A?(0,o.jsx)(o.Fragment,{children:r}):l?(0,o.jsx)(o.Fragment,{children:l}):null}}},e=>{e.O(0,[3302,4e3,5276,4112,2324,636,6593,8792],()=>e(e.s=16424)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.