Send Gmail emails from a Teams command

Productivity

What it does

When someone runs the testgmail command in Teams, this automation sends an email via Gmail. The channel receives a reply confirming the message was sent.

Who it's for

Operations teams who send emails from Teams without opening Gmail.

How teams use this

Send emails without leaving Teams

Run the testgmail command from a Teams channel to send an email via Gmail and get confirmation in the thread. The team stays in one place for the whole workflow.

Notify a customer from support

Use this automation in a customer support channel so someone can send a Gmail message to a customer and log it in the same conversation. Only the channel purpose changes.

Add cc or bcc to emails

Extend the command to include cc and bcc fields so emails reach multiple people at once. The automation sends the message with those extra recipients included in the Gmail send.

How it works

  1. Run the testgmail command. Type the testgmail command in a Teams channel or direct message with the recipient address and message content needed to send the email.
  2. Send the email via Gmail. Gmail sends the email with the recipient address and message body from the Teams command to the intended recipient.
  3. Post confirmation in Teams. Post a reply in the same Teams conversation so someone knows the Gmail message was sent successfully to the recipient.