mirror of
https://github.com/Dasemu/email-mcp.git
synced 2026-11-26 07:16:22 +00:00
chore: drop Zenvairo branding ahead of repo transfer
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
aa2e8e58dc
commit
b104ef9b0c
2 files changed
+2
-2
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
# ZenvairoEmail-mcp
|
# email-mcp
|
||||||
|
|
||||||
An MCP server that exposes IMAP/SMTP email operations (list accounts and folders,
|
An MCP server that exposes IMAP/SMTP email operations (list accounts and folders,
|
||||||
read/move/delete emails, send mail) as tools for MCP clients.
|
read/move/delete emails, send mail) as tools for MCP clients.
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ def list_folders(account: str) -> list[dict]:
|
|||||||
def create_folder(account: str, folder: str) -> str:
|
def create_folder(account: str, folder: str) -> str:
|
||||||
"""Create a new IMAP folder/mailbox. For a nested folder, use the account's
|
"""Create a new IMAP folder/mailbox. For a nested folder, use the account's
|
||||||
hierarchy delimiter (check list_folders' `delimiter`, commonly '/' or '.'),
|
hierarchy delimiter (check list_folders' `delimiter`, commonly '/' or '.'),
|
||||||
e.g. 'Projects/Zenvairo'."""
|
e.g. 'Projects/Personal'."""
|
||||||
with _imap(account) as conn:
|
with _imap(account) as conn:
|
||||||
typ, data = conn.create(f'"{folder}"')
|
typ, data = conn.create(f'"{folder}"')
|
||||||
if typ != "OK":
|
if typ != "OK":
|
||||||
|
|||||||
Reference in new issue
Block a user