ITC.Mail.Activities 1.0.0

dotnet add package ITC.Mail.Activities --version 1.0.0
                    
NuGet\Install-Package ITC.Mail.Activities -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ITC.Mail.Activities" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ITC.Mail.Activities" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ITC.Mail.Activities" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ITC.Mail.Activities --version 1.0.0
                    
#r "nuget: ITC.Mail.Activities, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ITC.Mail.Activities@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ITC.Mail.Activities&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ITC.Mail.Activities&version=1.0.0
                    
Install as a Cake Tool

ITC Mail Activities

Custom UiPath activity package for end-to-end email automation using Microsoft Exchange EWS and file-based mail processing.

No Microsoft Outlook installation required. All activities work independently on any UiPath robot machine without Outlook, Office, COM automation, or MAPI dependencies.


📦 Activities Included

Exchange Activities

Activity Description
Exchange Connect Authenticate to Exchange and return an ExchangeService session
Exchange Disconnect Safely clear credentials and release the session
Exchange Reply Email Reply to an email by Message-ID with optional recipients and attachments
Exchange Forward Email Forward an email to one or more recipients with optional body and attachments

Outlook File Activities

Activity Description
MSG to EML Converter Convert .msg files to .eml format — no Outlook required
Read Mail From File Read .msg or .eml files and return a MailMessage object — no Outlook required

Extraction Activities

Activity Description
Extract Tables from Mail Body Extract HTML tables from email body as DataTable array

🚀 Quick Start

Basic Exchange Workflow

1. Exchange Connect
      Exchange URL : "https://outlook.office365.com/EWS/Exchange.asmx"
      Username     : "user@domain.com"
      Password     : "yourpassword"
      Output       : [svc]

2. Exchange Reply Email
      ExchangeServiceInput : [svc]
      MessageId            : "<message-id@domain.com>"
      ReplyBody            : "Thank you for your email."

3. Exchange Disconnect
      ExchangeServiceInput  : [svc]
      ExchangeServiceOutput : [svc]

MSG to EML Conversion

1. MSG to EML Converter
      FilePath          : "C:\Emails\sample.msg"
      DestinationFolder : "C:\Emails\Output"
      Overwrite         : False
      Output            : OutputFile, Success, ErrorMessage

Read Mail and Extract Tables

1. Read Mail From File
      FilePath           : "C:\Emails\report.eml"
      ExtractAttachments : True
      Output             : MailMessageOut, AttachmentsOut, isSuccess

2. Extract Tables from Mail Body
      HtmlBody            : MailMessageOut.Body
      UseFirstRowAsHeader : True
      Output              : Tables, Success, ErrorMessage

⚙️ Requirements

  • UiPath Studio 2021.10 or later (Windows legacy)
  • .NET Framework 4.6.1
  • Microsoft Exchange Server 2013 SP1 or later
  • ❌ Microsoft Outlook — NOT required

📌 Notes

  • No Outlook dependency — MSG and EML files are processed using MsgReader and MimeKit libraries directly. No COM, no MAPI, no Office interop
  • Exchange Version defaults to Exchange2013_SP1
  • AttachmentFolder auto-creates an Attachments folder beside the source file when left empty
  • ContinueOnError is available on all applicable activities — check Success and ErrorMessage outputs when enabled

📦 Dependencies

Package Version Purpose
Microsoft.Exchange.WebServices 2.2.1.2 EWS managed API — no Outlook needed
MsgReader 6.0.9 Read .msg files directly — no Outlook needed
MimeKit 4.15.1 Read/write .eml files — no Outlook needed
HtmlAgilityPack 1.11.46 Parse HTML tables
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 115 4/10/2026

1.0.0 — Initial Release

- Exchange Connect, Disconnect, Reply Email, Forward Email activities
- MSG to EML Converter — no Outlook required, powered by MsgReader + MimeKit
- Read Mail From File — supports .msg and .eml without Outlook
- Extract Tables from Mail Body — colspan, merged cells, and nested table support
- ContinueOnError, Success and ErrorMessage outputs on all activities