Node Red emailer and 0auth2- "ReferenceError: msg is not defined" function check

@hadwll

I think this is a bug with the node - or at least its assumptions are incorrect.

@dceejay @Steve-Mcl

The node initializer is expecting an msg property - but during init, it will not exist?

C'tor

Trying to use msg in there

This would explain the error occurring during deploy?

IMO adjusting SMTP auth methods should be occurring on input ?
certainly if auth values are to be taken from msg

I might be a little rusty - so forgive me, if i'm just talking rubbish