Skip to main content
Question

Email- Outlook get unique message id

  • January 11, 2024
  • 3 replies
  • 381 views

How can we get the unique message id in automation anywhere 360 of the emails while automating them ?

3 replies

Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • January 11, 2024

Hi @shivangi.bhatia ,

 

Apart from the Email dictionary variables, A360 doesn't have an option to retrieve the Message ID at the moment.

 

You can try with VB script to get the same. I could find one stack over flow post regarding the same. Please check this out.

 

 

Hope this will help.

 
 

Padmakumar
Premier Pathfinder | Tier 7
Forum|alt.badge.img+3
  • Premier Pathfinder | Tier 7
  • January 11, 2024

Hi @shivangi.bhatia ,

 

Unfortunately, apart from the existing Email Dictionary key value pairs, there is no option currently available to retrieve the Message ID of an email.

 

However, as a workaround you can use VB script for the same. I could find one Stack overflow post for this purpose.

 

 

Hope this will help.

 

Forum|alt.badge.img
  • Navigator | Tier 3
  • March 13, 2026

Returning message id from an email should get on the development team’s to-do list if not already there.

Having the message id is very valuable when monitoring the processing status of email triggered bots. Using a database driven email ledger improves auditing of bot results and retry processing. I realize I can use email fields like sender, subject, and datetime, but message id provides a unique key into the messaging system, itself. 

 

Column

Purpose

EmailId (PK)

Message‑ID or Graph ID

Status

UNPROCESSED / PROCESSING / PROCESSED / ERROR

FirstSeenAt

Timestamp

LastUpdatedAt

Timestamp

RetryCount

Integer

ErrorMessage

Text

LockedBy

Bot instance

LockedAt

Timestamp