How to initialize Office365Message?

Hi @balaji123156

You don’t need it here. In there when mails are not there it would be nothing i guess here you will still get a count

or alternately you can check with Isnothing(offcie365mail) to find if it is empty

But ideally you should get the variable initalized once it is used in any of the activities

cheers