1. Install the Plugin
Go to your Bubble app:
Navigate to the Plugins tab.
Search for “WGD Mail SMTP” and click Install.
2. Configure Your API Keys
Depending on which service you're using (Sendgrid, Mailjet, Sendinblue, or custom SMTP), you need to:
Get the API Key from your provider (from their dashboard).
Go to the plugin’s API settings and paste the key into the appropriate shared header or secret parameter field.
Example: for Sendgrid, set the Authorization key to Bearer YOUR_API_KEY.
3. Set Up API Call: Sendgrid Example
This plugin uses a POST request to
https://api.sendgrid.com/v3/mail/send.
In the plugin editor:
Body Type: JSON
Required headers:
Content-Type: application/json
Authorization: Bearer <API_KEY>
🧪 Testing the Email
To test the API:
Use the "Initialize Call" button after entering sample values.
Go to Workflows and add the action: “Send email via Sendgrid” (or your configured provider).
Set dynamic fields like "To email", "Subject", etc., from user inputs.
🛠 Available Providers
You can configure and switch between the following services:
Sendgrid
Mailjet
Sendinblue
Custom SMTP (using custom endpoint credentials)