Hi n8n community!
I’m facing an inconsistency between Gmail and Outlook nodes when using them with the AI Agent.
Setup:
- AI Agent calls Outlook node via MCP server
- CC/BCC fields set to “Defined automatically by the model”
Issue:
- Gmail node: Works fine even when AI doesn’t provide CC/BCC values
- Outlook node: Throws “Received tool input did not match expected schema” error when CC/BCC fields are empty
Error message:
At least one recipient is not valid. Recipient '' is not resolved. All recipients must be resolved before a message can be submitted.
Problem:
- If I don’t add CC/BCC fields → Can never use CC/BCC
- If I add CC/BCC fields with “Defined by model” → Microsoft ALWAYS EXPECTS VALUES THERE - CANT BE EMPTY. GMAIL DOES NOT!!!
Question: Is there a way to make Outlook node handle optional CC/BCC parameters like Gmail node does? Or any workaround to make CC/BCC truly optional when using AI Agent?
Thanks for any insights!
Information on your n8n setup
- n8n version: 1.99
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Windows 11