Outlook Email logo

Outlook Email

ProductivityOAuth 2.0Live

Askel connects to your customer's Microsoft 365 mailbox and lets your product send emails from their Outlook address, read relevant message threads, and react to incoming mail, all via the Microsoft Graph API.

What you can do

Send emails from the customer's address

Use the Graph sendMail endpoint to deliver messages that appear from the connecting user's Microsoft 365 address, with HTML body, plain-text fallback, CC, BCC, and attachments.

Read and search the inbox

Fetch messages from any mail folder using OData filter and search parameters, such as unread messages from a specific sender or messages with a specific subject prefix.

Create draft messages for review

Create a draft in the customer's mailbox, then send it after a human or automated approval step, useful for workflows that require sign-off before delivery.

Manage folders and categories

Create mail folders, move messages between folders, and apply categories to messages to track processing state inside the customer's Outlook.

Subscribe to new message events

Create a Graph change notification subscription on the inbox. Microsoft notifies Askel when new messages arrive, triggering downstream workflow logic without polling.

Read attachment content

Fetch attachment bytes from a message by attachment ID, useful for processing incoming invoices, reports, or signed documents that customers email to a shared address.

Sample use case

Sending renewal reminder emails from the customer's account manager address

You sell a SaaS subscription platform. Stonehaven Partners wants renewal reminders to come from their account manager's Microsoft 365 address rather than a generic sender. Each reminder should include the renewal date, subscription tier, and a link to the renewal form.

  1. 1

    Connect once

    Stonehaven's account manager clicks Connect Outlook in your product. Microsoft's consent screen lists the Mail.Send scope; the manager approves. Askel stores the refresh token.

  2. 2

    Configure the template

    Your team sets up an email template with merge fields for customer name, renewal date, subscription tier, and renewal URL. The From address is pulled from the connected mailbox.

  3. 3

    Schedule the trigger

    Your product identifies subscriptions renewing in the next 30 days and queues a reminder email for each one, 30 days before the renewal date.

  4. 4

    Send via Graph

    Askel calls the Graph sendMail endpoint with the account manager's token. The email is delivered from their real Microsoft 365 address and appears in their Sent Items folder.

  5. 5

    Log the send

    Askel records the Graph message ID and send timestamp on the subscription record in your product. Your team can look up the exact message if a recipient follows up.

Authentication

OAuth 2.0

The connecting user completes the Microsoft Azure AD OAuth consent flow, approving Mail.Send for outbound-only workflows or Mail.ReadWrite for workflows that also need to read the inbox. Askel stores the refresh token and handles silent renewal. If the tenant requires admin consent for mail scopes, Askel provides a tenant-admin consent URL.

Data flow

How Askel sits between your product and the customer's system

Data flow between Customer's Microsoft 365 mailbox, Askel, and Your productCustomer's Microsoft 365 mailboxAPI endpointAskelauth · mapping · driftYour productyour backend
Outbound messagesInbox readsMail foldersAttachmentsChange notifications

FAQ for Outlook Email

Will sent emails appear in the customer's Sent Items folder?+
Yes. The Graph sendMail endpoint saves a copy in the sender's Sent Items folder by default, so the customer's team can see everything that was sent on their behalf.
What scopes does Askel request?+
Mail.Send for outbound-only, or Mail.ReadWrite if the workflow also needs to read or manage the inbox. Askel does not request admin-level scopes like Mail.ReadWrite.Shared unless explicitly needed.
Does this work with shared mailboxes?+
Yes, if the connecting user has Send As or Full Access permission on the shared mailbox. Askel can target the shared mailbox address in the sendMail call.
What happens if the OAuth token is revoked?+
Askel detects the 401 on the next Graph API call, pauses the affected workflows, and notifies your team. The customer reconnects from your product's settings page without any data loss.
Ready to ship integrations faster?customers faster?implementations faster?
Join onboarding teams delivering integrations without the engineering queue,
catching drift before it breaks, and hitting go-live dates.
Security & Compliance
ISO 27001 Certified
GDPR Compliant

© 2025 Askel.ai. All rights reserved.