Skip to content
Mimecast logo

Connectors / Security and compliance · HTTP Connector

Automate Mimecast with Tray.ai

Send an email in Mimecast. Connect Mimecast to the rest of your security and compliance stack with Tray.ai.

What can you do with Mimecast on Tray.ai?

Mimecast is an email security service that filters inbound and outbound mail, archives messages, and runs security awareness training for staff. Tray.ai connects to Mimecast through the HTTP Connector, so your workflows can call the Mimecast API alongside the rest of your stack.

  • Release a held message when the help desk confirms it is legitimate.
  • Create a user when a new hire is added in your HR system.
  • Get impersonation protection logs and send them to your security monitoring system.
  • Remove a group member when an employee changes department in your HR system.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or a bearer token
Base URL
https://api.services.mimecast.com

Set it up

Connect Mimecast to Tray.ai

Each step uses Mimecast's own API details, from its documentation.

Step 1

Sign in to Mimecast with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Mimecast. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.services.mimecast.com as the base URL. Or paste a cURL example from Mimecast's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “Find held messages”

It's one of 21 documented actions, under Held messages. The response comes back as data the next step can map into your other apps.

Step 4

Hand it to an AI agent

Wrap “Release a held message” and “Reject a held message” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with Mimecast

Each one uses actions and events from Mimecast's own API documentation.

Create Mimecast users for new Okta hires

When

A user is created in Okta

Then

  1. Create a user in Mimecast for the new hire
  2. Add a group member to the right department group

With Okta

Send held Mimecast messages to ServiceNow for review

When

On a schedule

Then

  1. Find held messages since the last run
  2. Get message details for each one
  3. Create a security incident in ServiceNow for review

With ServiceNow

Post Mimecast impersonation alerts to Slack

When

On a schedule

Then

  1. Get impersonation protection logs for the last hour
  2. Post new hits to the security channel in Slack

With Slack

Apps you can build on Mimecast data

Internal tools your team can build with an AI assistant, each one using Mimecast calls from its API documentation.

Held message review queue

Lists messages held by policy with their details and lets an admin release or reject each one.

Email threat dashboard

Shows URL, attachment and impersonation protection events by day so the security team can spot targeted users.

Phishing training report

Shows phishing campaign results by user and lets security add repeat clickers to a training group.

Give your AI agents Mimecast tools

Build an MCP server on Mimecast in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Find held messages
  • Search messages
  • Create a user
  • Create a group
  • Get DLP logs
  • Get phishing campaigns
  • Release a held message
  • Reject a held message

What the Mimecast API covers

6 resources and 21 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Held messages

  • Find held messages
  • Release a held message
  • Reject a held message

Messages

  • Search messages
  • Get message details
  • Send an email

Users

  • Create a user
  • Update a user
  • List internal users
  • Update user attributes

Groups

  • Create a group
  • Find groups
  • Add a group member
  • Remove a group member

Security events

  • Get DLP logs
  • Get URL protection logs
  • Get attachment protection logs
  • Get impersonation protection logs

Awareness training

  • Get phishing campaigns
  • Get campaign user data
  • Get performance summary

Checked against Mimecast's own documentation on 2026-11-07

developer.services.mimecast.com/apis

Frequently asked questions

What can a Tray.ai workflow do in Mimecast?

+

The Mimecast API documents 21 actions across 6 resources (Held messages, Messages, Users, Groups, Security events, Awareness training). For example: Find held messages; Search messages; Create a user. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Mimecast?

+

The Mimecast API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

See Mimecast working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.