https://linen.dev logo
Bug Report: OUTLOOK_CREATE_DRAFT_REPLY sets incorr...
# 🖥│support-forum
a
The OUTLOOK_CREATE_DRAFT_REPLY tool sets the from and sender fields to Composio's internal OAuth identifier (e.g., outlook_85722695C2D23DF9@outlook.com) instead of the user's actual Outlook mailbox address (e.g., alvvar11@outlook.com). Impact Critical: When the draft is sent, recipients cannot reply - they get "address not found" errors he email appears to come from a non-existent address Breaks email threading and reply functionality entirely Reproduction Log ID: log_tsZwOjP4chRi Request: { "user_id": "me", "message_id": "AQMkADAwATMwMAItNzAxMQAtZGViNy0wMAItMDAKAEYAAAOnTLQ4O_DCTKxTp-xMkYEbBwAwPFcdpakhSKrGJQIFjdFsAAACAQkAAAAwPFcdpakhSKrGJQIFjdFsAAHakADrAAAA" } Response (problematic fields): { "from": { "emailAddress": { "address": "outlook_85722695C2D23DF9@outlook.com", // ❌ WRONG - internal ID "name": "Alvaro Vargas" } }, "sender": { "emailAddress": { "address": "outlook_85722695C2D23DF9@outlook.com", // ❌ WRONG - internal ID "name": "Alvaro Vargas" } }} Expected: { "from": { "emailAddress": { "address": "alvvar11@outlook.com", // ✅ Actual mailbox address "name": "Alvaro Vargas" } }} Evidence in Thread The HTML body shows the actual email (alvvar11@outlook.com) was correctly used in previous messages, but the draft reply uses the internal ID: From: Alvaro Vargas ← Correct (previous message) ... href="mailto:outlook_85722695C2D23DF9@outlook.com" ← Wrong (draft reply) From: Alvaro Vargas ← Correct (previous message)...href="mailto:outlook_85722695C2D23DF9@outlook.com" ← Wrong (draft reply) https://cdn.discordapp.com/attachments/1467683446758445128/1467683447320612966/Screenshot_2026-02-01_at_7.49.34_PM.png?ex=6981463a&is=697ff4ba&hm=d179e8103b8f04c6aa331feffe6d5c9de95d4c05a3597db3d0e591e18d5d6a58&
here is a full demo of what's happening @Uday
for context .. i'm signing in to my MSFT account with my frontline email, but I use an outlook address for outlook
The flow is: 1. Send an email from Gmail --> Outlook 2. Our app labels the email as toRespond and created a draft using the "CREATE_DRAFT_REPLY" tool 3. User send the fresh draft from Outlook (with a wrong from email) 4. User responds on Gmail to a wrong to address (fails) Tested in Composio playground using the same message ID to ensure our app wasn't doing anything funky, and got the same result
a
@Uday thanks for sharing. I think the issue might be related to the fact i've signed up using a google workspace address to microsoft? But have an email address for outlook? This is the execute tool payload from your playground: Sender is listed as: "sender": { "emailAddress": { "address": "outlook_85722695C2D23DF9@outlook.com", "name": "Alvaro Vargas" } }, { "data": { "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('outlook_85722695C2D23DF9%40outlook.com')/messages/$entity", "@odata.etag": "W/\"CQAAABYAAAAwPFcdpakhSKrGJQIFjdFsAAHbWFJj\"", "bccRecipients": [], "body": { ...... "bodyPreview": "This is the Body\r\n________________________________\r\nFrom: Alvaro Vargas Manini \r\nSent: Monday, February 2, 2026 11:34:55 AM\r\nTo: alvvar11@outlook.com \r\nSubject: Plane Arriving Late\r\n\r\nFYI", "categories": [], "ccRecipients": [], "changeKey": "CQAAABYAAAAwPFcdpakhSKrGJQIFjdFsAAHbWFJj", "conversationId": "AQQkADAwATMwMAItNzAxMQAtZGViNy0wMAItMDAKABAAKuXEy-wuoUGgz0N-fwAhiYA=", "conversationIndex": "AQHclDf8KuXEy/wuoUGgz0N/fyGJgLVvSFT+", "createdDateTime": "2026-02-02T11:37:59Z", "flag": { "flagStatus": "notFlagged" }, "from": { "emailAddress": { "address": "outlook_85722695C2D23DF9@outlook.com", "name": "Alvaro Vargas" } }, "hasAttachments": false, ......... "log_id": "log_206z5MnEJqEm" } https://cdn.discordapp.com/attachments/1467683446758445128/1467847559082152008/Screenshot_2026-02-02_at_6.41.05_AM.png?ex=6981df11&is=69808d91&hm=17946bf538cdc44b00a09684aaa832051b5794310bd88eced4bc7814e04af218&
u
@AlvaroVargas11, “*I believe the issue might stem from signing up using a Google Workspace address for Microsoft. However, do you have an email address for Outlook?*” — This could be a potential reason. Could you try using ⁨`OUTLOOK_GET_PROFILE`⁩ and confirm if you see ⁨`alvvar11@outlook.com`⁩. If not, this could be the cause.
a
Ok I fixed it! When you sign up to outlook using a google workspace account, it creates an alias and sets it up as the primary address. I changed the primary address and sign up preferences to my outlook email and it worked @Uday thanks!
@Uday when using: OUTLOOK_GET_MAILBOX_SETTINGS - log_I28HhaQFbVw3 OUTLOOK_GET_PROFILE - log_jQZ_Y7W_yOpw I can't get my outlook address, just the email used for sign up. Is there reliable way to get the user's email address for the connected account? - i can open a different thread if it's better
u
@AlvaroVargas11, did you mean proxy addresses?
a
yes
u
I understand. We’ll add the field. It’ll also make tracking changes easier with newer threads, but it should be fine for now.
Hey @AlvaroVargas11, we've updated the tools.