- If the email contains attachments, a new transaction is created for all attachments in the email.
- If email-body import is enabled, the email body is converted to HTML and appended to the same transaction. Vantage also processes first-level embedded emails and their attachments.
Transaction registration parameters
Vantage saves the following data to the transaction registration parameters:EmailSubject registration parameter.MailImport) and the source file name to the SourceType and SourceFileName document registration parameters.
To see document and transaction registration parameters, add the matching columns in the Transactions section of Skill Monitor.
Vantage also exports them to the output JSON file, which you configure in the Exported Data section of the Output activity. Transaction registration parameters are available through the Vantage API as well.
File names can’t contain the following characters, and Vantage replaces each one with an underscore when you upload the file: / : ? # [ ] @ ! $ & ' ( ) * + , ; = \. Vantage saves the original file names to the document registration parameters. Retrieve them using a Custom activity sample script.
Import results
If an attachment’s format is unsupported, the transaction fails and processing stops for all other documents in it. See the specific error in the Error log section of Skill Monitor. If an email has no attachments and body import is turned off, Vantage creates no transaction but still marks the email as processed. Vantage either permanently deletes processed emails or moves them to a folder you specify when you set up the mailbox connection. Emails that can’t be imported go to the exceptions folder you specify.Processed folder.Grant ABBYY Vantage access to Microsoft Graph
Before anyone in your organization can use Sign in with Microsoft Graph, a Microsoft 365 administrator runs a PowerShell script once. The script adds the ABBYY Vantage enterprise application to your Microsoft Entra tenant if it isn’t there yet. It then grants ABBYY Vantage the permissions it needs, on behalf of all users in the tenant. If you use only Sign in with Microsoft or Sign in with other email account, you don’t need to run the script. To run the script, you need an account with at least the Cloud Application Administrator role in Microsoft Entra ID. For more information, see Grant or revoke API permissions programmatically.Install the Microsoft Graph PowerShell SDK
Find your tenant ID
Run the script
<your-tenant-id> with your tenant ID. When prompted, sign in with your administrator account and accept the permissions that Microsoft Graph PowerShell requests.openid, profile, email, offline_access, User.Read, Mail.ReadWrite, Mail.ReadWrite.Shared, and IMAP.AccessAsUser.All.If ABBYY Vantage already has a grant in your tenant, the script updates it. You can safely run the script again.Set up email import
Open the Input activity
Select Email as an additional source

Selecting Email as an additional Input source
Open settings and choose account type
Sign in to the account
Specify import and exceptions folders
VantageProcessing folder inside the import folder you specified. Emails move to this service folder first, and Vantage then processes them according to your settings.Choose the action for processed emails

Folder and post-processing settings in the Input Settings: Email dialog box
(Optional) Enable email body import
Save
Connect to a Microsoft account
In the Microsoft sign-in dialog box, select your current account if you are already signed in, or use a different one. After authentication succeeds, the sign-in dialog box closes. The first time you sign in with a Microsoft account, Vantage asks for permission to:- Sign in to the app using a work or school account.
- Access the primary email address and basic user profile data.
- Access and update user details, even when the user isn’t using the app.
- Access, update, create, and delete (but not send) emails in the user’s mailboxes.
Connect with Microsoft Graph
Sign in with Microsoft Graph connects to a Microsoft 365 mailbox through the Microsoft Graph API instead of IMAP. It is the recommended option for a Microsoft 365 mailbox. There is no mail server address or port to enter. Before anyone in your organization can use this option, your Microsoft 365 administrator must run a one-time setup script. For more information, see Grant ABBYY Vantage access to Microsoft Graph. Sign in to the Microsoft account that owns the mailbox. After authentication succeeds, the sign-in dialog box closes and you continue to folder selection. Microsoft Graph imports the same attachment formats as the other account types, and processes them the same way. If sign-in succeeds but Vantage cannot reach the mailbox, the dialog box reports an HTTP 403. The account signed in, but it does not hold the mailbox permission Vantage needs. If the option is missing from the Input Settings: Email dialog box, Microsoft Graph is not enabled for your environment. Contact your ABBYY account team.Connect to other email accounts
Specify your email address and password, the IMAP server address, and the IMAP port. The default port is 993 and rarely needs changing. Click Sign in. If Vantage can’t connect to the server, the account sign-in dialog box stays open and an error icon appears next to the input fields.
Email-connection error indicators in the Input Settings: Email dialog box
