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.

Hello, I have tried what you said to be able to send an email through botpress but I can’t see my skill in the dropdown menu…

I have installed nodemailer in the modules/node_modules folder, compressed it to a .tar.gz file and copied it in the modules folder. I then added the dependency in the botpress.config.json. Then in botpress I created a new action similar to what you proposed. But in the flows window, I can’t see any “Send Email” skill…

Do you have any idea how to fix that ?
Thanks for your help !

Added it as an action