Pass mail message as output argument

2 reasons:

You might have checked the isolated checkbox which will work only with serializable arguments, and mailmessage cannot be serialized (directly)