All data sources

Outlook

OAuthoutlook

Microsoft Outlook mail: search/read messages, parse attachments, and send emails with generated files. RULES: 1. Use outlookMail_get_emails_with_attachments then outlookMail_parse_email_attachments to understand files. 2. Use outlookMail_get_and_parse_emails for one-step retrieval and parsing (PDF/CSV/XLSX/XLS/DOCX/DOC/TXT). 3. Use outlookMail_send_email_with_files when Hermes builds a proposal/report; pass files[].contentText, contentBase64, or path. 4. Raw downloads default metadata-only; use mode:"inline" only for small files or parsing. 5. Use outlookMail_advanced_search for multi-criteria mailbox searches.

Provenance

PublisherOutlook

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationCredentials required (OAuth)

Methods (40)

  • outlookMail_list_messages

    read

    List messages in the default mailbox view with optional search and paging.

    Input schema
    {
      "type": "object",
      "properties": {
        "top": {
          "type": "number",
          "description": "Maximum messages to return."
        },
        "skip": {
          "type": "number",
          "description": "Number of messages to skip."
        },
        "search": {
          "type": "string",
          "description": "Microsoft Graph $search expression."
        },
        "filter": {
          "type": "string",
          "description": "Microsoft Graph $filter expression."
        },
        "orderBy": {
          "type": "string",
          "description": "Microsoft Graph $orderby expression."
        }
      },
      "additionalProperties": true
    }
  • outlookMail_read_message

    read

    Fetch one Outlook message by ID.

    Required paramsmessageId
    Input schema
    {
      "type": "object",
      "properties": {
        "messageId": {
          "type": "string",
          "description": "Outlook message ID."
        }
      },
      "required": [
        "messageId"
      ],
      "additionalProperties": true
    }
  • outlookMail_send_email

    write

    Send a new Outlook email.

    Required paramssubjectbodytoRecipients
    Input schema
    {
      "type": "object",
      "properties": {
        "subject": {
          "type": "string",
          "description": "Email subject line."
        },
        "body": {
          "type": "object",
          "description": "Message body with content and contentType."
        },
        "toRecipients": {
          "type": "array",
          "description": "Recipient list in Microsoft Graph recipient shape.",
          "items": {
            "type": "object"
          }
        },
        "ccRecipients": {
          "type": "array",
          "description": "Optional CC recipients.",
          "items": {
            "type": "object"
          }
        },
        "bccRecipients": {
          "type": "array",
          "description": "Optional BCC recipients.",
          "items": {
            "type": "object"
          }
        },
        "saveToSentItems": {
          "type": "boolean",
          "description": "Whether to save the message to Sent Items."
        },
        "attachments": {
          "type": "array",
          "description": "Optional Graph fileAttachment objects. Each provides a name plus exactly one of contentBytes (base64) OR sourceUrl (public/HTTPS URL the server fetches server-side — use INSTEAD of contentBytes to avoid inlining large files).",
          "items": {
            "type": "object"
          }
        }
      },
      "required": [
        "subject",
        "body",
        "toRecipients"
      ],
      "additionalProperties": true
    }
  • outlookMail_send_email_with_files

    write

    Send an Outlook email with generated or local files attached.

    Required paramssubjectbodytoRecipientsfiles
    Input schema
    {
      "type": "object",
      "properties": {
        "subject": {
          "type": "string",
          "description": "Email subject line."
        },
        "body": {
          "type": "object",
          "description": "Message body with content and contentType."
        },
        "toRecipients": {
          "type": "array",
          "description": "Recipient list in Microsoft Graph recipient shape.",
          "items": {
            "type": "object"
          }
        },
        "files": {
          "type": "array",
          "description": "Files with fileName/name plus contentText, contentBase64, or path.",
          "items": {
            "type": "object"
          }
        },
        "ccRecipients": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "bccRecipients": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "maxAttachmentSizeMB": {
          "type": "number",
          "description": "Per-file size cap."
        }
      },
      "required": [
        "subject",
        "body",
        "toRecipients",
        "files"
      ],
      "additionalProperties": true
    }
  • outlookMail_get_emails_with_attachments

    read

    Find Outlook emails and return attachment metadata.

    Input schema
    {
      "type": "object",
      "properties": {
        "top": {
          "type": "number",
          "description": "Maximum emails to return."
        },
        "search": {
          "type": "string",
          "description": "Mailbox search text."
        },
        "from": {
          "type": "string",
          "description": "Sender email filter."
        },
        "subject": {
          "type": "string",
          "description": "Subject search filter."
        },
        "receivedAfter": {
          "type": "string",
          "description": "ISO received lower bound."
        },
        "receivedBefore": {
          "type": "string",
          "description": "ISO received upper bound."
        },
        "hasAttachmentsOnly": {
          "type": "boolean",
          "description": "Only include emails with files."
        }
      },
      "additionalProperties": true
    }
  • outlookMail_parse_email_attachments

    unknown

    Parse supported attachments from one Outlook email.

    Required paramsmessageId
    Input schema
    {
      "type": "object",
      "properties": {
        "messageId": {
          "type": "string",
          "description": "Outlook message ID."
        },
        "fileTypes": {
          "type": "array",
          "description": "Optional extensions such as pdf, docx, xlsx, csv.",
          "items": {
            "type": "string"
          }
        },
        "maxFileSizeMB": {
          "type": "number",
          "minimum": 0.1,
          "maximum": 25,
          "description": "Maximum file size to parse (hard cap: 25MB)."
        }
      },
      "required": [
        "messageId"
      ],
      "additionalProperties": true
    }
  • outlookMail_get_and_parse_emails

    read

    Find emails with files and parse supported attachments.

    Input schema
    {
      "type": "object",
      "properties": {
        "top": {
          "type": "number",
          "description": "Maximum emails to inspect."
        },
        "search": {
          "type": "string",
          "description": "Mailbox search text."
        },
        "from": {
          "type": "string",
          "description": "Sender email filter."
        },
        "subject": {
          "type": "string",
          "description": "Subject search filter."
        },
        "fileTypes": {
          "type": "array",
          "description": "Optional extensions such as pdf, docx, xlsx, csv.",
          "items": {
            "type": "string"
          }
        },
        "maxFileSizeMB": {
          "type": "number",
          "minimum": 0.1,
          "maximum": 25,
          "description": "Maximum file size to parse (hard cap: 25MB)."
        }
      },
      "additionalProperties": true
    }
  • outlookMail_list_folders

    read

    List mail folders before doing folder-scoped message operations.

    Input schema
    {
      "type": "object",
      "properties": {
        "includeHiddenFolders": {
          "type": "boolean",
          "description": "Whether to include hidden Outlook folders."
        }
      },
      "additionalProperties": true
    }
  • outlookMail_list_messages_from_folder

    read
  • outlookMail_list_attachments

    read
  • outlookMail_search_contacts

    read
  • outlookMail_list_calendar_events

    read
  • outlookMail_send_draft

    write
  • outlookMail_mark_as_read

    read
  • outlookMail_move_message

    unknown
  • outlookMail_delete_message

    write
  • outlookMail_flag_message

    unknown
  • outlookMail_set_importance

    write
  • outlookMail_set_categories

    write
  • outlookMail_create_mail_folder

    write
  • outlookMail_delete_folder

    write
  • outlookMail_get_mail_folder_details

    read
  • outlookMail_update_folder_display_name

    write
  • outlookMail_update_draft

    write
  • outlookMail_delete_draft

    write
  • outlookMail_create_forward_draft

    write
  • outlookMail_create_reply_draft

    write
  • outlookMail_download_attachment

    read
  • outlookMail_add_attachment

    write
  • outlookMail_list_contacts

    read
  • outlookMail_get_contact

    read
  • outlookMail_create_contact

    write
  • outlookMail_update_contact

    write
  • outlookMail_get_event

    read
  • outlookMail_create_event

    write
  • outlookMail_update_event

    write
  • outlookMail_delete_event

    write
  • outlookMail_respond_to_event

    unknown
  • outlookMail_batch_get_messages

    read