Get date from saved gmail into local file

Hi, need some help for this. am i missing something? TIA!

May i know the datatype for the email date?

it set to be string

@luqman.hakim.yazid

emaildate should be of type System.Net.Mail.Message. Please change it and then try once.

you mean like this? i dont think this would work.

@luqman.hakim.yazid

Hope you are saving the output of Read saved email to object activity into read variable. Then read variable should be of type System.Net.Mail.Message.

emaildate should be of type String only.

Note: I thought you are saving the output of Read saved email to object** activity into emaildate variable. That’s why I asked you to change its type to System.Net.Mail.Message. Sorry for that.