Gmail Integration
Overview
Workflows contains a system to send emails without using any Plugins or HTTP calls. To do this it needs a compatible email server and the appropriate configuration. This document describes how to configure Workflows to send emails via gmail.
1. Get an Application Password
To send emails via gmail, you need to get an application password. This is a password that is specific to the application you are using. This is required because gmail has a security feature that prevents applications from sending emails. To get an application password, follow these steps:
- Go to your Google Account
- Select Security.
- Under “Signing in to Google,” select App Passwords. You may need to sign in. If you can’t see it, use the Search bar to look for
App Passwords
. If you don’t have this option, it might be because:- 2-Step Verification is not set up for your account.
- 2-Step Verification is only set up for security keys.
- Your account is through work, school, or other organisation.
- You turned on Advanced Protection.
- At the bottom, choose Select app and choose Other (Custom Name) and then enter “Workflows”.
- Then choose Generate. Copy the Password provided.
2. Configuration Workflows
In your Workflows Application Folder, locate a file called appsettings.json
Edit the SMTP section as follows:
"Smtp": {
"Host": "smtp.gmail.com",
"Port": "587",
"DefaultSender": "<YOUR GMAIL ADDRESS>",
"Username": "<YOUR GMAIL ADDRESS>",
"Password": "<APPLICATION PASSWORD>",
"RequireCredentials": true,
"SecureSocketOptions": 3,
"EnableSSL": true
},