Outlook
Outlook is Microsoft's email, calendar and contacts. With this connector, TAO can read your mail, draft and send messages, manage your calendar and look up contacts.
What you can do
Illustrative examples.
- "Summarise the unread emails in my inbox from today."
- "Draft a reply to Priya's message and save it for me to review."
- "Book a 30 minute Teams meeting with Sam tomorrow at 10."
- "What meetings do I have this week?"
Before you connect
- A Microsoft email account with a mailbox.
- The Microsoft sign-in page asks for permission to read and write your mail, send mail, read and write your calendar, read and write your contacts, and create online meetings. It also asks for the shared-mailbox versions of the mail permissions. In the code these are the
Mail,Mail.Shared,Calendars,ContactsandOnlineMeetingspermissions. - If your company limits which apps people may approve, an administrator may need to approve the app first.
Connect it
Open Connectors
Go to Settings and open Connectors. Find the Microsoft Outlook card.
Click Connect
Click Connect. Microsoft's sign-in page opens.
Sign in and approve
Sign in with your work account. Read the permissions and approve them.
Check the card
You return to TAO and the card shows Connected. To add another mailbox, click Connect another. Use Make default to choose which one TAO uses by default.
Using your company's own app instead
The product code also has a second way to connect, for companies that cannot approve TAO's shared app. Your IT team creates its own app in your company's Microsoft setup. TAO then reads and sends mail from one service or shared mailbox.
- The connector is named
outlook_app. It asks for a tenant ID, a client ID, a mailbox address and a client secret. Your IT team supplies these. - The app needs the Microsoft permissions
Mail.ReadandMail.Send, approved by an administrator. - There is a Test connection step. A connection that has not passed the test, or was edited after passing, is refused until it is tested again.
- The product notes mark this as built but not yet checked against a real customer tenant, and the catalog row is seeded switched off.
Tools
All 16 tools belong to Outlook. Tools marked Write, approval do not act straight away. They wait in the approvals queue for a person to approve.
| Tool | What it does | Read or Write |
|---|---|---|
outlook_list_messages | Lists emails from the inbox or another folder, with subject, sender, date and a snippet | Read |
outlook_get_message | Fetches the full body of one email | Read |
outlook_list_folders | Lists your mail folders with message counts | Read |
outlook_create_draft | Saves a draft in your Drafts folder. Does not send and needs no approval | Write, no approval |
outlook_send_mail | Sends an email | Write, approval |
outlook_reply_mail | Sends a reply to an email | Write, approval |
outlook_move_message | Moves an email to another folder, such as archive | Write, approval |
outlook_mark_read | Marks an email read or unread. Takes effect immediately | Write, no approval |
Calendar
| Tool | What it does | Read or Write |
|---|---|---|
outlook_list_events | Lists upcoming events with times, location, Teams join link and attendees | Read |
outlook_get_event | Gets the details of one event | Read |
outlook_create_event | Creates an event. Can make it an online Teams meeting. Attendees get an invite email | Write, approval |
outlook_delete_event | Cancels an event. Attendees get a cancellation email | Write, approval |
Contacts and people
| Tool | What it does | Read or Write |
|---|---|---|
outlook_list_contacts | Lists or searches your address book | Read |
outlook_create_contact | Adds a contact | Write, approval |
outlook_get_my_profile | Returns your own name, email and Microsoft user ID | Read |
find_person | Finds a colleague by name or email so TAO can email, invite or message them | Read |
Total: 16 tools. That is 8 reads, 6 writes that wait for approval and 2 writes that take effect at once.
Limits and good to know
- Listing messages returns 1 to 50 per call (default 20).
- Searching contacts pages through up to about 500 contacts. If the limit is hit, the result says it was cut short.
- Inviting people or cancelling an event emails them, so check the approval card first.
- Teams chat is not part of Outlook. A Teams message uses the Teams connection.
- The code requests shared-mailbox permissions. How a user picks a shared mailbox in the portal is not visible in the code reviewed for this page.
- If you reconnect, the product keeps the same connection record, so existing setups keep working.