# Mail Supported Activities

> Refer to the table below for the Mail activities that are supported when using the Activity Migrator tool.

Refer to the table below for the Mail activities that are supported when using the Activity Migrator tool. 

| **Source activity** | **Destination activity/activities** | **Notes** |
| ---| ---| --- |
| Send Outlook Desktop Mail Message (`SendOutlookMail`) | `SendMailConnections`or`GetEmailByIdConnections` + `ForwardEmailConnections` | By default the activity is migrated to `SendMailConnections`.If `Mail message` field from `Forward`category is populated, the activity will be migrated to `GetEmailByIdConnections` + `ForwardEmailConnections`. The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id.When both source attachments are set (`File path attachments collection` + `File path attachments`), a new expression is created that unifies both entries in the `Attachments(s)` property of the migrated activity. Otherwise, only their counterpart migrated property is populated. |
| Get Outlook Desktop Mail Messages (`GetOutlookMailMessages`) | `GetEmailListConnections`or`GetEmailListConnections` + `Assign` | **Filtering options are currently unsupported** and have to be manually migrated.If the output of the original activity is set to a variable, an `Assign` activity will be appended. The `Assign` activity sets the original output variable from the source activity (`List<MailMessage`) to the output of the migrated activity (`List<Office365Message>`). This is done in order to preserve the original behavior of the workflow. Therefore, non-migratable activities that consume the original source activity output (`List<MailMessage>`) will still work as expected without requiring input modification. |
| Mark Outlook Desktop Mail As Read/Unread (`MarkOutlookMailAsRead`) | `GetEmailByIdConnections` + `MarkAsReadUnreadConnections` | The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id. |
| Move Outlook Desktop Mail Message (`MoveOutlookMessage`) | `GetEmailByIdConnections` + `MoveEmailConnections` | The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id. |
| Delete Outlook Desktop Mail Message (`DeleteOutlookMailMessage`) | `GetEmailByIdConnections` + `DeleteEmailConnections` | The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id. |
| Reply To Outlook Desktop Mail Message (`ReplyToOutlookMailMessage`) | `GetEmailByIdConnections` + `ReplyToEmailConnections` | The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id. |
| Set Outlook Desktop Mail Categories (`SetOutlookMailCategories`) | `GetEmailByIdConnections` + `SetEmailCategoriesConnections` | The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id. |
| Save Outlook Desktop Mail Message (`SaveOutlookMailMessage`) | `GetEmailByIdConnections` + `DownloadEmailConnections` | The `GetEmailByIdConnections` is used to convert from `MailMessage` to `Office365Message` by using the `MailMessage` id. |
