packages/opal-node-email/emailprocess.js
function processValuesFromContext(node, params, msg, varList) {
                let pMsg = {};
                Object.assign(pMsg, params);
                varList.forEach((varItem) => {
                    if (varItem.type === undefined || params[varItem.type] === undefined) {
                        pMsg[varItem.name] = params[varItem.name];
                    } else if (params[varItem.type] === 'flow' || params[varItem.type] === 'global') {
                        pMsg[varItem.name] = RED.util.evaluateNodeProperty(params[varItem.name], params[varItem.type], node, msg);
                        pMsg[varItem.type] = params[varItem.type];
                        console.log('Inside flow or global');
                        console.log(varItem.name + ' - - ' + pMsg[varItem.name]);
                    } else {
                        pMsg[varItem.name] = params[varItem.name];
                        pMsg[varItem.type] = params[varItem.type];
                    }
                });
                return pMsg;
            }
function processValuesFromContext(node, params, msg, varList) {
                let pMsg = {};
                Object.assign(pMsg, params);
                varList.forEach((varItem) => {
                    if (varItem.type === undefined || params[varItem.type] === undefined) {
                        pMsg[varItem.name] = params[varItem.name];
                    } else if (params[varItem.type] === 'flow' || params[varItem.type] === 'global') {
                        pMsg[varItem.name] = RED.util.evaluateNodeProperty(params[varItem.name], params[varItem.type], node, msg);
                        pMsg[varItem.type] = params[varItem.type];
                        console.log('Inside flow or global');
                        console.log(varItem.name + ' - - ' + pMsg[varItem.name]);
                    } else {
                        pMsg[varItem.name] = params[varItem.name];
                        pMsg[varItem.type] = params[varItem.type];
                    }
                });
                return pMsg;
            }
function processValuesFromContext ( node , params , msg , varList ) { let pMsg = { } ; Object . assign ( pMsg , params ) ; varList . forEach ( ( varItem ) => { if ( varItem . type === undefined || params [ varItem . type ] === undefined ) { pMsg [ varItem . name ] = params [ varItem . name ] ; } else if ( params [ varItem . type ] === 'flow' || params [ varItem . type ] === 'global' ) { pMsg [ varItem . name ] = RED . util . evaluateNodeProperty ( params [ varItem . name ] , params [ varItem . type ] , node , msg ) ; pMsg [ varItem . type ] = params [ varItem . type ] ; console . log ( 'Inside flow or global' ) ; console . log ( varItem . name + ' - - ' + pMsg [ varItem . name ] ) ; } else { pMsg [ varItem . name ] = params [ varItem . name ] ; pMsg [ varItem . type ] = params [ varItem . type ] ; } } ) ; return pMsg ; }
End of checkEmail 
proccess values from context

@param {any} node __DOCSPLACEHOLDER__
@param {any} params __DOCSPLACEHOLDER__
@param {any} msg __DOCSPLACEHOLDER__
@param {any} varList __DOCSPLACEHOLDER__
@return {object} pMsg
End of checkEmail proccess values from context