Send Mail
This function block allows users to send emails through the Gmail API. It supports sending messages with optional attachments, enabling seamless communication directly from the interface.
π₯ Inputs
Subject
The subject line of the email.
Content
The body text of the email.
Sender Address
The email address from which the email will be sent. Please ensure this address is activated with Gmail API.
Mail API Password
The password or application-specific password for the sender email account.
Receiver Address
The email address of the recipient.
Attachment File Path
The file path of any attachment you wish to include in the email. This input is optional.
Trigger
A Boolean signal used to trigger the sending of the email.
π€ Outputs
Success
A Boolean output indicating whether the email was sent successfully.
πΉοΈ Controls
Currently Supported Sending: Information labels describing Gmail requirements for sending emails.
Sender Mail Activation: Provides guidance that the sender's email must be activated via the Gmail API.
π¨ Features
Attachment Support
Users can add attachments from their local filesystem when sending emails.
Gmail API Integration
Utilizes the Gmail API for secure email communication.
Error Handling
The block attempts to gracefully handle SMTP session expirations and re-establishes connections seamlessly.
π Usage Instructions
Set Up Sender Address: Enter the sender's Gmail address and ensure it is activated through the Gmail API.
Compose Email: Fill in the
Subject
andContent
fields to create the email.Add Attachment (Optional): If you wish to include an attachment, provide the file path under
Attachment File Path
.Trigger Sending: Activate the
Trigger
parameter to send the email.
π Evaluation
Upon triggering, the function block composes the email and attempts to send it. The success state will be outputted, confirming whether the send action was successful.
π οΈ Troubleshooting
Last updated