Send Email Skill


I saw an email skill when I was going through the trivia tutorial. Any idea where I can get that module.



@DigiSenseiZim, I believe this wasn’t ever released and was a custom module in someone’s installation.


Thining of creating this using nodemailer. Any thoughts? Just want to make sure that this would be the best for the job…

1 Like

Nodemailer could fit quite well. :slight_smile:


Will you consider making it public? Please :slight_smile:

1 Like

I don’t think our agreements allow that.
@sylvain, correct me if I’m wrong.


using nodemailer or making it public?


Making module public.



Okay I never went through the agreement to find out what the fine print says about creating modules and making them public so I won’t share a workaround involving creating a module.

  1. In CLI go to dir


  1. npm i nodemailer
  2. create an action with code like
"use strict";
// Use at least Nodemailer v4.1.0
const nodemailer = require('nodemailer');

 * Send an email to John Doe when some foo happens
 * @title Send Email
 * @category Foo Forwarding
 * @author Michael Mukwekezeke.

    // Create a SMTP transporter object NB: You can create directTransport object to send from server
let transporter = nodemailer.createTransport({
    host: '',
    port: 465,
    secure: true, // use SSL 
    auth: {
        user: '',
        pass: 'Password'

    // Message object
    let message = {
        from: 'Sender <>',
        to: ',,' , //freshdesk offers free helpdesk for email channel and beats Ethereal there if you want a free option
        subject: 'You can replace everything with variables for sec',
        text: 'Name: '+ '\t' + event.state.user.customerName + '\n'+ 'Message: ' + '\t' + event.state.user.message};
    // Sending message   



Outstanding!! Your my hero :wink:



No sweat. But be very careful on the security side.