Connect HomeMarketplaceComponentsRead Email from Saved File to Object

Read Email from Saved File to Object

Custom Activity

Custom Activity

Updated: November 28th, 2020

Published: September 12th, 2018

Downloads: 2260

Language compatibility: Visual Basic

Community Support

Read Email from Saved File to Object

Custom Activity


This activity returns a .net MailMessage object, that can be handled by other existing activities, from a saved .eml file.

This activity allows you to read a .eml file (email file) and to convert into a .Net MailMessage object. The .Net object can be handled in any RPA workflow as your automation requires.
Use cases:
  • an archive of saved emails can be easily transformed into a database table for ease of use
  • any saved .eml can be 'read' and be used as necessary (for example save the attachment or read that one too or respond to email sender automatically)
  • from an entire folder with .eml files you can search the one(s) corresponding to your needs (for example if you have an archive with emails containing reports, you can find the right one using this activity and looking into each MailMessage object for key words)
NOTE: Installation Guidelines for Custom Activities can be found here.



There are some cases when the user reads emails that are saved in a file folder. Since we cannot read them directly, we open them and read content. The problem arises when we want to extract specific data, since selectors don't always work and string manipulation is required.


Studio 2018.1.3




- User_Guide.docx


By clicking download you agree to the following license.