Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
// get the chat context
var chat = msg.chat();
// email payload
msg.to = chat.get('email');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment