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