Unable to get the mail body in outlook

Hi there @devbrath,
Is it possible the mail item you are trying to write actually has no body and thus, is null?

Before you write it, can you add the following:
If String.IsNullOrWhiteSapce(mail.Body) = False Then
WriteLine - mail.Body
Else
WriteLine - “Mail Body (mailBody) Is Null Or WhiteSpace”

See what the result is.

Thanks,
Josh