Issue with Office.context.mailbox.item.body.getAsync API in New Outlook - Incomplete Email Thread Retrieval

Ashwath Jadhav 0 Reputation points
2025-06-30T17:38:19.5666667+00:00

Dear Microsoft Support,

I am currently developing an Outlook add-in and have encountered a inconsistency in the behavior of the Office.context.mailbox.item?.body.getAsync API between the classic and new versions of Outlook.

Current Behavior:

In classic Outlook, the API works as expected:

  • It retrieves the full content of the current email, including all previous messages in the thread.
  • This behavior is consistent in both read and compose modes.

In new Outlook, the behavior is inconsistent and problematic:

  • In read mode, the API only retrieves the content of the current message, excluding previous threads.
  • In compose mode, the API fails to retrieve any content at all.
  • Even when the email is opened in a full window, the API only reads the content above the vertical line (which separates the current message from the thread). It does not access any content below this line unless the user manually places the cursor there.

Expected Behavior:

The API should consistently retrieve the full email body, including all threaded messages, regardless of the Outlook version or mode (read/compose). This is essential for building robust and context-aware add-ins.

Request:

Please investigate this discrepancy and confirm whether this is a known issue or a limitation in the new Outlook. If it is a bug, I kindly request a fix or a recommended workaround to ensure consistent behavior across Outlook versions.

Thank you for your support.

Outlook | Windows | Classic Outlook for Windows | For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Steven-N 2,755 Reputation points Microsoft External Staff Moderator
    2025-07-01T05:04:12.37+00:00

    Hi Ashwath Jadhav  

    Thanks for reaching out to Microsoft Q&A forum support and apologize for the inconvenience 

    Based on your description, I understand that you've encountered inconsistent behavior when using the Office.context.mailbox.item?.body.GetAsync API across the classic and new versions of Outlook. 

    To better understand the issue and provide accurate troubleshooting guidance, I’d appreciate it if you could share a few additional details: 

    • Could you let me know the source or documentation you’re referencing for this Outlook add-in API? 
    • If possible, could you also provide the TypeScript definition or snippet of the API implementation you're currently using? 

    With this information, I’ll be better equipped to analyze the situation and offer a more precise solution or recommendation. 

    Thank you for understanding 


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.