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 |
| 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 |
Versions
Compatible and additional computed target framework versions.
|
|
.NET Framework
|
net461
net461 is compatible.
net462
net462 was computed.
net463
net463 was computed.
net47
net47 was computed.
net471
net471 was computed.
net472
net472 was computed.
net48
net48 was computed.
net481
net481 was computed.
|
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