# Social Nodes
Email node helps in sending email. It sends the
msg.payload as an email, with a subject of
The default message recipient can be configured in the node, if it is left blank it should be set using the
msg.to property of the incoming message. If left blank you can also specify any or all of:
msg.cc, msg.bcc, msg.replyTo, msg.inReplyTo, msg.references properties.
You may optionally set
msg.from in the payload which will override the userid default value.
If you are accessing GMail you may need to either enable an application password, or enable less secure access via your Google account settings.
The payload can be html format.If the payload is a binary buffer then it will be converted to an attachment. The filename should be set using
msg.description can be added for the body text.
Alternatively you may provide
msg.attachments which should contain an array of one or more attachments in nodemailer format.If required by your recipient you may also pass in a
msg.envelope object, typically containing extra from and to properties.
If you have own signed certificates, Nodemailer can complain about that and refuse sending the message. In this case you can try switching off TLS.
SMTP with SSL to port uses 465.
Example: How to use an Email node
Invokes a Slack Web API method and outputs the response. The node needs to be configured with token and the slack channelID.
Example: How to use an slack node