Tool

Get message

The Microsoft Outlook Get Message tool fetches a single email message by its Microsoft Graph ID. When includeAttachments is enabled, it also returns each fileAttachment with its base64 contentBytes, making the email's body and attachment content directly available to downstream automation steps.

microsoft_outlook

Features

  • Fetch a single email message by its Microsoft Graph message ID.
  • Optionally include attachment metadata and base64 `contentBytes` inline.
  • Supports shared mailboxes via the `userId` parameter.
  • Returns the full message body so downstream steps can parse content directly.
  • Powered by the Microsoft Graph API for reliable, up-to-date message data.

Benefits

  • Access full email body and attachment content in a single call.
  • Enable AI-driven workflows that need to read CVs, invoices, or other attached documents.
  • Avoid extra round-trips by fetching attachments inline instead of separately.
  • Work with shared mailboxes by targeting a specific `userId`.
  • Integrate easily with Pipedream-driven Outlook automation flows.

Description

Retrieve a single email message by its Microsoft Graph message ID. Optionally includes attachment metadata and base64 contentBytes (when the attachment is a fileAttachment). See the documentation

Parameters

3 parameters

NameTypeDescription
userIdstring

The User ID of a shared mailbox. If not provided, defaults to the authenticated user's mailbox.

messageIdrequiredstring

The Microsoft Graph message ID.

includeAttachmentsboolean

If true, expands attachments inline so each fileAttachment includes its base64 contentBytes.

Ready to vibe automate?

Join thousands of people who have transformed their workflows.

Workflows

Automations with AI agents

Collections

All your data, searchable

Chat Widget

Drop-in widget for your website

Developer API

Build AI-powered apps with ease

    We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy