[{"data":1,"prerenderedAt":746},["ShallowReactive",2],{"navigation_docs":3,"-tools-email-manager":139,"-tools-email-manager-surround":741},[4,8,12,16,20,24,28,32,59,63,117,121,135],{"title":5,"path":6,"stem":7},"Introduction","\u002Fintroduction","1.introduction",{"title":9,"path":10,"stem":11},"Memory","\u002Fmemory","10.memory",{"title":13,"path":14,"stem":15},"Customization","\u002Fcustomization","11.customization",{"title":17,"path":18,"stem":19},"Deployment","\u002Fdeployment","12.deployment",{"title":21,"path":22,"stem":23},"Reference","\u002Freference","13.reference",{"title":25,"path":26,"stem":27},"Quickstart","\u002Fquickstart","2.quickstart",{"title":29,"path":30,"stem":31},"Installation","\u002Finstallation","3.installation",{"title":33,"icon":34,"path":35,"stem":36,"children":37,"page":58},"Connectors","i-lucide-cable","\u002Fconnectors","4.connectors",[38,42,46,50,54],{"title":39,"path":40,"stem":41},"Telegram","\u002Fconnectors\u002Ftelegram","4.connectors\u002F1.telegram",{"title":43,"path":44,"stem":45},"Slack","\u002Fconnectors\u002Fslack","4.connectors\u002F2.slack",{"title":47,"path":48,"stem":49},"Email","\u002Fconnectors\u002Femail","4.connectors\u002F3.email",{"title":51,"path":52,"stem":53},"API","\u002Fconnectors\u002Fapi","4.connectors\u002F4.api",{"title":55,"path":56,"stem":57},"Terminal","\u002Fconnectors\u002Fterminal","4.connectors\u002F5.terminal",false,{"title":60,"path":61,"stem":62},"Attachments","\u002Fattachments","5.attachments",{"title":64,"icon":65,"path":66,"stem":67,"children":68,"page":58},"Tools","i-lucide-wrench","\u002Ftools","6.tools",[69,73,77,81,85,89,93,97,101,105,109,113],{"title":70,"path":71,"stem":72},"File Manager","\u002Ftools\u002Ffile-manager","6.tools\u002F1.file-manager",{"title":74,"path":75,"stem":76},"Text-to-Speech","\u002Ftools\u002Ftext-to-speech","6.tools\u002F10.text-to-speech",{"title":78,"path":79,"stem":80},"Confirmations","\u002Ftools\u002Fconfirmations","6.tools\u002F11.confirmations",{"title":82,"path":83,"stem":84},"Adding Custom Tools","\u002Ftools\u002Fadding-custom-tools","6.tools\u002F12.adding-custom-tools",{"title":86,"path":87,"stem":88},"Image Manager","\u002Ftools\u002Fimage-manager","6.tools\u002F2.image-manager",{"title":90,"path":91,"stem":92},"Web Request","\u002Ftools\u002Fweb-request","6.tools\u002F3.web-request",{"title":94,"path":95,"stem":96},"Reminders","\u002Ftools\u002Freminders","6.tools\u002F4.reminders",{"title":98,"path":99,"stem":100},"Heartbeats","\u002Ftools\u002Fheartbeats","6.tools\u002F5.heartbeats",{"title":102,"path":103,"stem":104},"Email Manager","\u002Ftools\u002Femail-manager","6.tools\u002F6.email-manager",{"title":106,"path":107,"stem":108},"Calendar","\u002Ftools\u002Fcalendar","6.tools\u002F7.calendar",{"title":110,"path":111,"stem":112},"Read Database","\u002Ftools\u002Fread-database","6.tools\u002F8.read-database",{"title":114,"path":115,"stem":116},"Headless Browser","\u002Ftools\u002Fbrowser","6.tools\u002F9.browser",{"title":118,"path":119,"stem":120},"Tinker","\u002Ftinker","7.tinker",{"title":122,"icon":123,"path":124,"stem":125,"children":126,"page":58},"Skills","i-lucide-sparkles","\u002Fskills","8.skills",[127,131],{"title":128,"path":129,"stem":130},"Overview","\u002Fskills\u002Foverview","8.skills\u002F1.overview",{"title":132,"path":133,"stem":134},"Adding Custom Skills","\u002Fskills\u002Fadding-custom-skills","8.skills\u002F2.adding-custom-skills",{"title":136,"path":137,"stem":138},"Personas","\u002Fpersonas","9.personas",{"id":140,"title":102,"body":141,"description":734,"extension":735,"links":736,"meta":737,"navigation":738,"path":103,"seo":739,"stem":104,"__hash__":740},"docs\u002F6.tools\u002F6.email-manager.md",{"type":142,"value":143,"toc":724},"minimark",[144,148,157,176,180,265,268,271,314,317,321,324,430,433,506,517,521,625,629,668,672,717],[145,146,5],"h2",{"id":147},"introduction",[149,150,151,152,156],"p",{},"The Email Manager tool operates on your IMAP mailbox: list messages, read them, send new ones, reply to existing threads, move messages between folders, and apply labels. It reuses the IMAP and SMTP credentials of the ",[153,154,155],"a",{"href":48},"Email connector",".",[158,159,160],"blockquote",{},[149,161,162,166,167,171,172,175],{},[163,164,165],"span",{},"!NOTE","\nThe Email Manager ",[168,169,170],"strong",{},"tool"," is not the same as the Email ",[168,173,174],{},"connector",". The connector lets users message the bot via email. The tool lets the bot read and write your inbox. They can be enabled independently and only share the SMTP\u002FIMAP config.",[145,177,179],{"id":178},"reading-the-inbox","Reading the Inbox",[181,182,183,196],"table",{},[184,185,186],"thead",{},[187,188,189,193],"tr",{},[190,191,192],"th",{},"Parameter",[190,194,195],{},"Description",[197,198,199,213,227,245,255],"tbody",{},[187,200,201,208],{},[202,203,204],"td",{},[205,206,207],"code",{},"operation",[202,209,210],{},[205,211,212],{},"inbox",[187,214,215,220],{},[202,216,217],{},[205,218,219],{},"folder",[202,221,222,223,226],{},"Folder name (default ",[205,224,225],{},"INBOX",")",[187,228,229,234],{},[202,230,231],{},[205,232,233],{},"search",[202,235,236,237,240,241,244],{},"Plain text search across subject, sender, and body. Don't use Gmail-style operators like ",[205,238,239],{},"from:"," or ",[205,242,243],{},"subject:"," — just words.",[187,246,247,252],{},[202,248,249],{},[205,250,251],{},"from_filter",[202,253,254],{},"Filter by sender (partial match)",[187,256,257,262],{},[202,258,259],{},[205,260,261],{},"limit",[202,263,264],{},"Max messages to return (default 10, max 20)",[149,266,267],{},"Returns a JSON array of message summaries: UID, subject, sender, date, read\u002Fflagged status, attachment count, size.",[149,269,270],{},"To read a single message in full:",[181,272,273,281],{},[184,274,275],{},[187,276,277,279],{},[190,278,192],{},[190,280,195],{},[197,282,283,294,304],{},[187,284,285,289],{},[202,286,287],{},[205,288,207],{},[202,290,291],{},[205,292,293],{},"read",[187,295,296,301],{},[202,297,298],{},[205,299,300],{},"uid",[202,302,303],{},"Message UID",[187,305,306,310],{},[202,307,308],{},[205,309,219],{},[202,311,222,312,226],{},[205,313,225],{},[149,315,316],{},"The body is returned as plain text, falling back to a stripped HTML body, truncated at 50 KB.",[145,318,320],{"id":319},"sending-and-replying","Sending and Replying",[149,322,323],{},"To send a new email:",[181,325,326,337],{},[184,327,328],{},[187,329,330,332,335],{},[190,331,192],{},[190,333,334],{},"Required",[190,336,195],{},[197,338,339,353,365,377,389,402,414],{},[187,340,341,345,348],{},[202,342,343],{},[205,344,207],{},[202,346,347],{},"Yes",[202,349,350],{},[205,351,352],{},"send",[187,354,355,360,362],{},[202,356,357],{},[205,358,359],{},"to",[202,361,347],{},[202,363,364],{},"Array of recipient email addresses",[187,366,367,372,374],{},[202,368,369],{},[205,370,371],{},"subject",[202,373,347],{},[202,375,376],{},"Subject line",[187,378,379,384,386],{},[202,380,381],{},[205,382,383],{},"body",[202,385,347],{},[202,387,388],{},"Body text",[187,390,391,396,399],{},[202,392,393],{},[205,394,395],{},"cc",[202,397,398],{},"No",[202,400,401],{},"CC recipients",[187,403,404,409,411],{},[202,405,406],{},[205,407,408],{},"bcc",[202,410,398],{},[202,412,413],{},"BCC recipients",[187,415,416,421,423],{},[202,417,418],{},[205,419,420],{},"attachments",[202,422,398],{},[202,424,425,426,429],{},"Array of ",[205,427,428],{},"{disk, path, filename, mime_type}"," objects",[149,431,432],{},"To reply to an existing message:",[181,434,435,445],{},[184,436,437],{},[187,438,439,441,443],{},[190,440,192],{},[190,442,334],{},[190,444,195],{},[197,446,447,460,471,482,493],{},[187,448,449,453,455],{},[202,450,451],{},[205,452,207],{},[202,454,347],{},[202,456,457],{},[205,458,459],{},"reply",[187,461,462,466,468],{},[202,463,464],{},[205,465,300],{},[202,467,347],{},[202,469,470],{},"The UID of the message being replied to",[187,472,473,477,479],{},[202,474,475],{},[205,476,383],{},[202,478,347],{},[202,480,481],{},"Reply body",[187,483,484,488,490],{},[202,485,486],{},[205,487,359],{},[202,489,398],{},[202,491,492],{},"Override the reply-to address",[187,494,495,499,501],{},[202,496,497],{},[205,498,420],{},[202,500,398],{},[202,502,503,504],{},"Same shape as ",[205,505,352],{},[149,507,508,509,512,513,516],{},"Replies set ",[205,510,511],{},"In-Reply-To"," and ",[205,514,515],{},"References"," automatically so they thread correctly in mail clients. The original message is marked as answered.",[145,518,520],{"id":519},"folders-and-labels","Folders and Labels",[181,522,523,536],{},[184,524,525],{},[187,526,527,530,533],{},[190,528,529],{},"Operation",[190,531,532],{},"Parameters",[190,534,535],{},"Notes",[197,537,538,559,578,591,605],{},[187,539,540,545,556],{},[202,541,542],{},[205,543,544],{},"move",[202,546,547,549,550,552,553],{},[205,548,300],{},", ",[205,551,219],{}," (destination), optional ",[205,554,555],{},"source_folder",[202,557,558],{},"Moves the message to another folder",[187,560,561,566,575],{},[202,562,563],{},[205,564,565],{},"label",[202,567,568,549,570,572,573],{},[205,569,300],{},[205,571,219],{}," (label), optional ",[205,574,555],{},[202,576,577],{},"Copies the message to another folder, leaving it in place",[187,579,580,585,588],{},[202,581,582],{},[205,583,584],{},"folders",[202,586,587],{},"—",[202,589,590],{},"Lists every folder in the mailbox",[187,592,593,598,602],{},[202,594,595],{},[205,596,597],{},"create_folder",[202,599,600],{},[205,601,219],{},[202,603,604],{},"Creates a new folder",[187,606,607,612,619],{},[202,608,609],{},[205,610,611],{},"delete_folder",[202,613,614,616,617,226],{},[205,615,219],{}," (or ",[205,618,584],{},[202,620,621,624],{},[168,622,623],{},"Requires confirmation."," Deletes one or more folders.",[145,626,628],{"id":627},"marking-read-and-unread","Marking Read and Unread",[181,630,631,639],{},[184,632,633],{},[187,634,635,637],{},[190,636,529],{},[190,638,532],{},[197,640,641,655],{},[187,642,643,648],{},[202,644,645],{},[205,646,647],{},"mark_read",[202,649,650,652,653],{},[205,651,300],{},", optional ",[205,654,219],{},[187,656,657,662],{},[202,658,659],{},[205,660,661],{},"mark_unread",[202,663,664,652,666],{},[205,665,300],{},[205,667,219],{},[145,669,671],{"id":670},"deleting-messages","Deleting Messages",[181,673,674,682],{},[184,675,676],{},[187,677,678,680],{},[190,679,192],{},[190,681,195],{},[197,683,684,695,707],{},[187,685,686,690],{},[202,687,688],{},[205,689,207],{},[202,691,692],{},[205,693,694],{},"delete",[187,696,697,704],{},[202,698,699,240,701],{},[205,700,300],{},[205,702,703],{},"uids",[202,705,706],{},"Single UID or array of UIDs",[187,708,709,713],{},[202,710,711],{},[205,712,219],{},[202,714,222,715,226],{},[205,716,225],{},[149,718,719,720,723],{},"Delete ",[168,721,722],{},"requires confirmation",". The user is prompted in chat first, and the deletion is permanent (the message is expunged, not just flagged).",{"title":725,"searchDepth":726,"depth":726,"links":727},"",2,[728,729,730,731,732,733],{"id":147,"depth":726,"text":5},{"id":178,"depth":726,"text":179},{"id":319,"depth":726,"text":320},{"id":519,"depth":726,"text":520},{"id":627,"depth":726,"text":628},{"id":670,"depth":726,"text":671},"Read, send, reply to, and organize messages in your inbox.","md",null,{},true,{"title":102,"description":734},"Y2vJetd5k2hWQoUh9KzKArFkgLAK9c6uBBauNf-4xlo",[742,744],{"title":98,"path":99,"stem":100,"description":743,"children":-1},"Schedule recurring prompts that fire on a cron schedule.",{"title":106,"path":107,"stem":108,"description":745,"children":-1},"List, create, update, and delete events on Google Calendar or Apple CalDAV.",1786661906119]