I am maintaining an application using exchangelib. I need to be able to move emails to different folders, which is perfectly possible using exchangelib. However, I should give the possibility to my clients to do the same manually. What I want to be able to do is to see what email is moved to what folder later. So I need a tracking id for emails. So may questions are:
- Does the
message_id
field serve as this unique identifier? - It seems it is not possible to fetch emails in bulk using
message_id
. What is the best practice for this? I can fetch emails usingitem_id
andchangekey
, by callingaccount.fetch
however, they change as the user moves email around different folders, while themessage_id
does not.