# DEB-136: Integrate with connected Email inboxes - Microsoft Outlook

> **Jira:** [DEB-136](https://divami.atlassian.net/browse/DEB-136)  
> **Source Report:** [20260315.md](../../reports/jira/20260315.md)

- **Status:** Start
- **Assignee:** Unassigned
- **Priority:** Medium
- **Created:** 2026-01-23T16:50:59.645+0530
- **Updated:** 2026-02-09T15:11:31.830+0530

**Description:**

As a user, I should be able to query for information, using natural language prompts, and that the system should be able to fetch that information from the Email inboxes - Microsoft Outlook, that I have read access to. Alongwith the response, it should provide a brief text related to the source of the information (as a link). For example, subject of the email and its timestamp.

**Architecture Diagram:**

```mermaid
sequenceDiagram
    participant User
    participant RT as RT Decision Agent
    participant DSA as Outlook Email Agent
    participant Outlook as Microsoft Graph API

    User->>RT: Query about emails
    RT->>DSA: A2A: search_emails(query, user_token)
    DSA->>Outlook: GET /me/messages?$search=...
    Outlook-->>DSA: Email list + metadata
    DSA->>DSA: Rank & filter by relevance
    DSA-->>RT: Summary + source links<br/>(subject + timestamp)
    RT-->>User: Answer with email source links
```
