I need to get the message id of the email sent with exchangelib. I can't find documentation on how to get it.
item = account.inbox.filter(message_id__in=[message_id]).only( 'subject',
'id',
'message_id',
'sender',
'cc_recipients',
'to_recipients',
'references')[0]
item.reply(subject='Re: '+ item.subject,
to_recipients=[item.sender.email_address],
body='I agree',)
If I get the references item.references
I get as a result None