# Nylas integration

> Unified email, calendar, and contacts API across Google, Microsoft, IMAP, and Exchange providers.

- Authentication: apiKey

## Tools (46)

- **Clean Message**: Return a cleaned/parsed version of a message body with signatures, footers, and quoted text stripped.
- **Create Calendar**: Create a new calendar in the grant's account.
- **Create Contact**: Create a new contact in the grant's address book.
- **Create Draft**: Create a new email draft in the grant's mailbox without sending.
- **Create Event**: Create a calendar event with participants, conferencing, and optional invite notifications.
- **Create Folder**: Create a new folder (or Gmail label).
- **Delete Calendar**: Delete a secondary calendar.
- **Delete Contact**: Delete a contact from the grant's address book.
- **Delete Draft**: Discard a draft without sending.
- **Delete Event**: Delete or cancel a calendar event.
- **Delete Folder**: Delete a folder or Gmail label.
- **Delete Grant**: Revoke and permanently remove a grant from the Nylas application.
- **Delete Message**: Permanently delete a message from the grant's mailbox.
- **Delete Thread**: Delete every message in a thread.
- **Download Attachment**: Stream the raw bytes of an attachment.
- **Get Attachment Metadata**: Return attachment metadata (filename, size, content type).
- **Get Availability**: Compute bookable time slots across one or more participants using open/collective/max_fairness algorithms.
- **Get Calendar**: Return one calendar's metadata including timezone, access role, and whether it is primary.
- **Get Contact**: Return one contact's full profile.
- **Get Draft**: Return the full contents of a specific draft.
- **Get Event**: Retrieve one calendar event by ID.
- **Get Folder**: Retrieve one folder or label by ID.
- **Get Free/Busy**: Return busy time blocks for a list of emails over a time window.
- **Get Grant**: Return metadata for a specific grant, including provider, email, and status.
- **Get Message**: Return the full body, headers, and attachment metadata for one message.
- **Get Thread**: Retrieve one thread with all of its messages summarised.
- **List Calendars**: List every calendar accessible to a grant.
- **List Contact Groups**: List the contact groups (Google labels / Outlook categories) available to the grant.
- **List Contacts**: List contacts stored in the grant's address book with name/email/company filters.
- **List Drafts**: List draft messages in a grant's mailbox.
- **List Events**: Query events on a calendar with time-range, participant, and text filters.
- **List Folders**: List folders (Microsoft/IMAP) or labels (Gmail) for a grant.
- **List Grants**: List every end-user account (grant) authorized into the Nylas application.
- **List Messages**: Search and list email messages in a grant's mailbox with filters and provider-native search.
- **List Room Resources**: List bookable rooms and equipment resources exposed by the grant's provider.
- **List Threads**: List email threads (grouped conversations) in a grant's mailbox with the same filters as messages.
- **Send Draft**: Send a saved draft using its stored recipients, subject, and body.
- **Send Message**: Send an email directly (skipping drafts). Supports attachments, replies, tracking, and scheduled send.
- **Send RSVP**: Send an RSVP response (yes/no/maybe) to an event invitation.
- **Update Calendar**: Rename or edit a calendar's description, timezone, or metadata.
- **Update Contact**: Modify a stored contact's profile fields.
- **Update Draft**: Modify an existing draft's recipients, subject, body, or attachments.
- **Update Event**: Modify an existing event's time, participants, description, or conferencing.
- **Update Folder**: Rename a folder or move it under a different parent.
- **Update Message**: Modify labels/folders, unread state, or starred flag on a message.
- **Update Thread**: Bulk-modify unread/starred state or folder membership on every message in a thread.

## Related prompts

- [Draft follow-up emails after every external meeting](https://www.generalinput.com/prompts/draft-follow-up-emails-after-every-external-meeting.md)
- [Weekday meeting prep brief in Slack via Nylas](https://www.generalinput.com/prompts/weekday-meeting-prep-brief-in-slack-via-nylas.md)
- [Route inbound email leads into HubSpot with Slack alerts](https://www.generalinput.com/prompts/route-inbound-email-leads-into-hubspot-with-slack-alerts.md)
- [Turn Airtable booking requests into calendar invites and confirmations](https://www.generalinput.com/prompts/turn-airtable-booking-requests-into-calendar-invites-and-confirmations.md)

Connect Nylas in General Input: https://www.generalinput.com/apps/nylas