Send email via Gmail from a Slack command
BotsArtificial IntelligenceProductivity
What it does
When someone runs a Slack command, this automation sends an email through Gmail to a specified person. The channel gets a confirmation that the email was sent.
Who it's for
Operations teams who need to send emails from Slack without switching apps.
Apps used
How teams use this
Send alerts to external contacts
Notify someone outside your Slack workspace about an issue or update by running the command. The email goes out immediately and the team sees confirmation in the channel.
Route notifications to customer support
Invite the bot to a support channel so urgent messages can be emailed to a customer or manager. The same command works across different channels without any changes.
Add subject line and body text
Extend the command to include a subject line and message body so the email contains more than just the recipient. This requires adding those fields to the command prompt.
How it works
- Run the email command in Slack. Type the new Gmail send demo command in a Slack channel or direct message with the recipient email address.
- Send email via Gmail. Gmail sends an email to the specified person with the message details from the Slack command.
- Post confirmation in Slack. Slack replies in the same conversation so the channel knows the email was sent successfully.