DEV Community

Cover image for Send automated emails using n8n.io
Suchitra
Suchitra

Posted on • Edited on • Originally published at joingardens.com

9 3 1 1 1

Send automated emails using n8n.io

You will need

1 Terminal (ex- Git Bash)
2 Email ID

Step-By-Step Guide

Step 1: Install n8n using npm or npx

Install n8n locally on our system, use the below command.
npm install n8n -g

Alternative, If we just want to use n8n without downloading to a local machine, can use this command
npx n8n

In this guide, we will walk you through using npx.


Step 2: Copy the URL and paste it in the address bar

SS1

After pasting “http://localhost:5678/” in the address bar, we will get the n8n workflow page.

SS2


Now, we are in n8n workflow, where we can use various types of tools to automate the task. So, over here, we will be using the “send email” node for sending the emails using this workflow.


Step 3: Select the “send email” node

Go to the “+” and in the search box type “send email” then select it. After selecting the “send email” node, the below window will pop up.
SS3

Note: Before putting the mail address in “from email” make sure that you have the correct and that email account on a service with SMTP support.

If we have a simple email account but in this case, we can also register our email account for SMTP service support by using some SMTP service provider's example elastic email.


Step 4: Create SMTP credentials

Go to Elastic-Email website and create SMTP credentials for your email. After creating, make sure to copy your password.

SS4

Now, we are ready to put all the required details for executing our “send email” node.


Step 5: Put all the details for sending the mail from the “send email” node

Click on “SMTP credential” and select the pencil icon and put all the details from the Elasic-Email SMTP details.

SS5


Note: In “from email” put only that email which you have provided for SMTP service.

1 Fill the “from email” address
2 “To email” address
3 BCC and CSS email (Optional)
4 Subject
5 Text or HTML form message


SS6

If all goes fine then the response will be like the below image
SS7


Result

Note: Check the spam folder also, if you don’t find it in your inbox.

SS8

Thanks for follow along, hope it helps!

image

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Top comments (2)

Collapse
 
nancydrewsub profile image
nancydrewsub

I have to say it really impressed me..thank you! @ retro bowl unblocked

Collapse
 
suchitra_13 profile image
Suchitra

What do you mean??

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay