Email and SMS AI automations
Use AI with email, attachments, and SMS to extract structured content, categorize, automate, and repond intelligently.
Extract structured data
Using extract endpoints and schema definitions you can pass emails, files, and SMS to AI LLM models and receive strongly typed and reliable responses in JSON format. To use this feature:
- Make sure you have the AI addon enabled on your plan
- Create a schema defintion and instructions for the output you want
- Call generate endpoints with schema and IDs for emails, attachments, or SMS
- Recieve structured JSON response matching your input specs and instructions
Output schema
MailSlurp uses a subset of the OpenAPI Schema types to define a response your AI analysis should use. Define properties and expected values in your schema and AI will use these as instructions and fill the values.
Example response types
Say you want a response for an invoice that can be modelled like so:
- Javascript
- C#
- Java
- Python
Loading...
Loading...
Loading...
Loading...
You can define a corresponding schema for this type like so:
- Javascript
- C#
- Java
- Python
Loading...
Loading...
Loading...
Loading...