Skip to Main Content
Workspace DX Assets
Created by Neeraj Kumar
Created on Mar 11, 2025

Graph API Outlook VBO - Read from eml and msg file

If we receive an email having another e-mail with .eml or .msg attachment - then current VBO is not able to read the mail.

and VBO must be modified to read mail with .msg and .eml format placed in shared Drive


this is already delivered in Legacy Outlook VBO.


  • Admin
    Eric Wilson
    Reply
    |
    Mar 14, 2025

    The Graph API doesn't support reading .EML or .MSG file formats directly. You can get the content of attachments with the existing action, but it's returned as raw MIME content. The reason the legacy VBO is capable of presenting the contents of .EML and .MSG is because it uses the Outlook application. We can probably get to the point of presenting .EML contents, but .MSG files would likely require a completely separate application/library to process the MSG format. From what I've seen, most of the actively developed 3rd party libraries that could be leveraged here are paid applications/libraries (eg. Aspose). There are a few things in GitHub we can investigate, but it will take some time.

    Alternatively, you can save the contents of the attachments to a local file and then open them with the Outlook client, but that defeats the purpose of using the Graph API for mail.

  • Neeraj Kumar
    Reply
    |
    Mar 12, 2025

    The ask is to read from .eml and .msg e-mail attachment from shared drive.

  • Admin
    Eric Wilson
    Reply
    |
    Mar 12, 2025

    Hi Neeraj,

    Can you clarify when you say the current VBO is not able to read the mail, you're specifically referring to the attached email (.eml or .msg file) and not the main email, correct?

    Cheers,
    Eric