Message Send

Send a new message from a connected Gmail mailbox.

by GmailRequires connected account$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Send a test email from my Gmail to hello@scrollport.com to check the connection works.”

You get

Label IDs
SENT
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "gmail.message-send",
  "input": {
    "body": {
      "email": {
        "to": [
          "hello@scrollport.com"
        ],
        "from": "alan.v20x@gmail.com",
        "text": "This test confirms ScrollPort can send email using the connected Gmail account.",
        "subject": "ScrollPort Gmail evidence test"
      }
    }
  }
}

Response

{
  "id": "18f0sentmessage456",
  "labelIds": [
    "SENT"
  ],
  "threadId": "18f0sentthread456"
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Message Send (tool ID: gmail.message-send). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

Your agent will also help you connect your app account the first time.

No agent yet? Create your account on the web and connect one from your dashboard later.

Questions

Is Message Send by Gmail free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need my own Gmail account?

Yes. It works in the Gmail account you connect to Scrollport, with the access you approve. Scrollport does not provide Gmail accounts.

Details

About this tool

Sends one structured Gmail message with optional bounded private attachments. Sending is externally visible and cannot be undone. It can optionally join an existing thread. Always one upstream request at $0.0025.

All inputs and outputs

Input

bodyobject · required

Bounded request body sent to the connected application.

Output

idstring

Identifier of the record.

labelIdsarray
threadIdstring
Errors and limits
  • connection_required: This capability acts on your own Gmail mailbox, which isn't connected yet.Open connect_url, approve permission to send Gmail messages, then retry this run unchanged.
  • invalid_input: The structured email is missing its authorised sender, recipients, subject, or content.Provide body.email.from, to, subject, and text, html, or both. Attachments must use private ScrollPort artifact URLs.