> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Email



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#GMAIL_SEND_EMAIL
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#GMAIL_SEND_EMAIL:
    post:
      summary: Send Email
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: GMAIL_SEND_EMAIL
                parameters:
                  type: object
                  properties:
                    toRecipients:
                      type: array
                      description: >-
                        To : Specify the recipients as either a single string or
                        a JSON array. (example: "[
                          "recipient1@domain.com",
                          "recipient2@domain.com"
                        ]")
                      items:
                        type: string
                    from:
                      type: string
                      description: >-
                        From : The email address or verified alias to send your
                        message from. If not provided, the message will be sent
                        from the default address of your Gmail account.
                    subject:
                      type: string
                      description: 'Subject : Specify the subject of the message.'
                    messageContent:
                      type: string
                      description: >-
                        Message Content : Specify the content of the email
                        message as plain text or HTML.
                    attachments:
                      type: object
                      description: Specify the attachments as file object
                      properties:
                        name:
                          type: string
                          description: Name of the file
                        data:
                          type: string
                          description: base64-encoded data string of the file contents
                        mimeType:
                          type: string
                          description: MIME type of the file
                        dataType:
                          type: string
                          description: Set to FILE
                          enum:
                            - FILE
                      required:
                        - name
                        - data
                        - mimeType
                        - dataType
                    additionalHeaders:
                      type: object
                      description: >-
                        Additional Headers : Specify any additional header
                        fields here. (example: "{
                          "reply-to": "Sender Name <sender@domain.com>",
                        }")
                      properties: {}
                  required:
                    - toRecipients
                    - subject
                    - messageContent
                  x-integration: gmail
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````