The OUTLOOK_CREATE_DRAFT_REPLY tool sets the from and sender fields to Composio's internal OAuth identifier (e.g., [email protected]) instead of the user's actual Outlook mailbox address (e.g., [email protected]).
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": "[email protected]", // ❌ WRONG - internal ID "name": "Alvaro Vargas" } }, "sender": { "emailAddress": { "address": "[email protected]", // ❌ WRONG - internal ID "name": "Alvaro Vargas" } }}
Expected:
{ "from": { "emailAddress": { "address": "[email protected]", // ✅ Actual mailbox address "name": "Alvaro Vargas" } }}
Evidence in Thread
The HTML body shows the actual email ([email protected]) was correctly used in previous messages, but the draft reply uses the internal ID:
From: Alvaro Vargas [email protected] ← Correct (previous message)
...
href="mailto:[email protected]" ← Wrong (draft reply)
From: Alvaro Vargas [email protected] ← Correct (previous message)...href="mailto:[email protected]" ← Wrong (draft reply)