- Documentation
- Integrations
- Apps
- Microsoft Outlook integration
Microsoft Outlook integration
Send and organize email, run calendars, and manage contacts in Microsoft Outlook on behalf of your clients.
What it does
The Microsoft Outlook integration moves a client's mailbox, calendar, and address book into TaskJuice. Connect a client's Microsoft 365 work account or personal Outlook.com account once, then send email with attachments, reply to and forward conversations, draft messages for review, file mail into folders, flag and categorize it, book and update meetings, answer invitations, and keep contacts in sync with your other systems.
Connect a Microsoft Outlook account
- Open your workspace in TaskJuice and go to Connections.
- Choose Microsoft Outlook and click Connect.
- Sign in with the Microsoft account whose mailbox you manage for your client.
- Review and accept the permissions TaskJuice asks for: read and write mail, send mail, read and write calendars, read and write contacts, and read mailbox settings.
- TaskJuice returns you to the workspace with the connection ready to use.
Microsoft Outlook connections use your agency's own Microsoft Entra app registration. If you have not set one up yet, the connection dialog walks you through it.
To revoke access, open My Apps for work and school accounts, or Microsoft account privacy for personal accounts, and remove your app.
Triggers
microsoft-outlook/new-messagechecks the Inbox on a schedule and starts one run per check with every email that arrived since the last one. Add a Loop step to handle each email on its own.microsoft-outlook/new-message-in-folderdoes the same for a folder you pick, for example a folder your mail rules file client email into.microsoft-outlook/new-email-matching-searchstarts a run for new Inbox emails that match a search, such asfrom:client@example.comorsubject:invoice. Sent Items and Drafts are not searched, so replies your workflow sends do not match. Do not use double quotes in the search.microsoft-outlook/new-flagged-emailstarts a run when it first sees an email flagged for follow-up. When you publish, it notes your most recently changed flagged emails (up to Max Per Check) so they do not start a run. An older flagged email it never noted can start a run the first time it changes. If you keep many flagged emails (more than a couple of hundred), an email it already reported can start another run after it is changed again.microsoft-outlook/new-email-with-attachmentstarts a run for new Inbox emails that have attachments, with each attachment's name, type, and size. Use Download Attachment to fetch a file.microsoft-outlook/new-calendar-eventstarts a run when an event is added to a calendar you pick.microsoft-outlook/updated-calendar-eventstarts a run when an event in the calendar you pick is created or changed. Several edits between checks arrive together as the latest version.microsoft-outlook/cancelled-calendar-eventstarts a run when an organizer cancels a meeting the connected account was invited to. Pick the calendar invitations arrive in, usually Calendar. A meeting the connected account organized and cancelled is removed from its calendar, so it does not start a run.microsoft-outlook/calendar-event-startedstarts a run shortly after an event begins, within one check of its start time. It is not an advance reminder. A meeting the organizer cancelled stays on an invitee's calendar, marked as cancelled, so it still starts a run when its start time passes; checkisCancelledin a later step to skip it.microsoft-outlook/new-contactstarts a run when a contact is added to the default Contacts folder, andmicrosoft-outlook/updated-contactstarts one when a contact there is added or changed.
The New Calendar Event, New or Updated Calendar Event, and Cancelled Calendar Event triggers see one-off events and whole recurring series, not single occurrences of a recurring meeting. For New or Updated Calendar Event, a change to a single occurrence of a recurring meeting shows up as a change to the whole series. Cancelling a single occurrence does not start a Cancelled Calendar Event run. Calendar Event Started is the exception: each occurrence starts its own run.
Apart from the two new-message triggers, the mail and calendar triggers return each item's preview, not its full body. To read the body, add a Get Email or Get Event step after the trigger.
Every trigger checks on a schedule, every five minutes by default or your plan's minimum if that is higher, and starts one run per check with everything new since the last one. Apart from the two new-message triggers, each check reads up to 100 items by default (the Max Per Check setting); if more than that arrive between checks, the extra ones are skipped. Add a Loop step to handle each item on its own.
Actions
microsoft-outlook/send-mailsends an email with To, CC, and BCC lists, an HTML or plain-text body, and file attachments.microsoft-outlook/send-mime-messagesends a complete MIME message you built elsewhere.microsoft-outlook/create-draftsaves an email with optional attachments to Drafts for review.microsoft-outlook/update-draftchanges a draft's subject, body, or recipients.microsoft-outlook/add-attachmentattaches a file of up to 3 MB to a draft.microsoft-outlook/send-draftsends a draft.microsoft-outlook/reply-to-messageandmicrosoft-outlook/reply-all-to-messagereply inside the original conversation.microsoft-outlook/create-draft-replyandmicrosoft-outlook/create-draft-reply-allprepare a reply as a draft without sending it.microsoft-outlook/forward-messageforwards an email with an optional note.microsoft-outlook/get-messagereads one email.microsoft-outlook/list-messagesfinds emails across the mailbox by keyword search or filter.microsoft-outlook/list-folder-messagesfinds emails in one folder.microsoft-outlook/update-messagechanges the read state, importance, follow-up flag, or categories of an email.microsoft-outlook/mark-message-readmarks an email read or unread.microsoft-outlook/flag-messageflags, completes, or clears the follow-up flag on an email.microsoft-outlook/move-messageandmicrosoft-outlook/copy-messagefile an email into another folder.microsoft-outlook/delete-messagemoves an email to Deleted Items.microsoft-outlook/list-attachments,microsoft-outlook/get-attachment, andmicrosoft-outlook/download-attachmentread an email's attachments. Download stores the file so later steps can upload or forward it.
Mail folders and categories
microsoft-outlook/list-mail-folders,microsoft-outlook/get-mail-folder,microsoft-outlook/create-mail-folder,microsoft-outlook/update-mail-folder, andmicrosoft-outlook/delete-mail-foldermanage mail folders.microsoft-outlook/delete-mail-folderdeletes a mail folder and everything in it. Deleted folders do not appear in Deleted Items, so they cannot be restored from there.microsoft-outlook/list-categorieslists the mailbox's color categories.
Calendar
microsoft-outlook/create-eventbooks an event in a calendar you pick, with attendees, location, reminder, and an optional online meeting link. If a retry could run the step twice, set Deduplication key to a value that stays the same across retries, such as the id of the record that started the workflow, and Microsoft creates the event only once.microsoft-outlook/update-eventchanges an event. Attendees receive the update.microsoft-outlook/cancel-eventcancels a meeting you organized and sends attendees a note.microsoft-outlook/respond-to-eventaccepts, tentatively accepts, or declines an invitation.microsoft-outlook/delete-eventdeletes an event.microsoft-outlook/get-eventreads one event.microsoft-outlook/list-eventsfinds events in a calendar by filter.microsoft-outlook/list-events-in-rangelists every event between two dates, with recurring meetings expanded.microsoft-outlook/list-calendars,microsoft-outlook/get-calendar,microsoft-outlook/create-calendar,microsoft-outlook/update-calendar, andmicrosoft-outlook/delete-calendarmanage calendars.
Contacts
microsoft-outlook/create-contactandmicrosoft-outlook/create-contact-in-folderadd a contact.microsoft-outlook/update-contactchanges a contact.microsoft-outlook/delete-contactdeletes a contact.microsoft-outlook/get-contactreads one contact.microsoft-outlook/list-contactsfinds contacts, for example by email address.microsoft-outlook/list-contact-folders,microsoft-outlook/get-contact-folder,microsoft-outlook/create-contact-folder,microsoft-outlook/update-contact-folder, andmicrosoft-outlook/delete-contact-foldermanage contact folders.
Enter recipients
Recipient, attendee, email address, and phone fields take a plain list separated by commas or semicolons, for example ana@example.com; ben@example.com. Category fields take names separated by commas only, so a category name can contain a semicolon. You can also map a list from an earlier step.
Known limitations
- A sent email, with its attachments, must stay under about 3 MB. Microsoft rejects larger messages. Share large files as links instead.
- Fields you leave blank on an update action are not changed. A list you set, such as attendees or categories, replaces the existing list.
- When you change an event's start or end time, set its time zone too.
- Setting any business address field on
microsoft-outlook/update-contactreplaces the whole business address, so include every part you want to keep. - Keyword search in the find-emails actions returns at most 1,000 results and cannot be combined with a sort order.
- Microsoft limits how many requests an app can make to one mailbox in a short window. When that happens, TaskJuice waits and retries automatically.
- Shared mailboxes and group calendars are not supported. Connect the mailbox you want to automate directly.
- Tenant administrators can block some permissions. If an action fails with a permission error, ask the client's Microsoft 365 administrator to approve your app.