Skip to main content
Every zohomail.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Folders

create

folders.create Create a new folder Risk: write
Input Output

delete

folders.delete Delete a folder along with its emails and sub-folders [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

get

folders.get Get a specific folder Risk: read
Input Output

list

folders.list List all mail folders Risk: read
Input Output

update

folders.update Rename, mark all emails read, or empty a folder Risk: write
Input Output: void

Messages

delete

messages.delete Permanently delete an email [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output: void

get

messages.get Get a specific email with its content Risk: read
Input Output

list

messages.list List emails in a folder Risk: read
Input Output

markRead

messages.markRead Mark emails as read Risk: write
Input Output: void

markUnread

messages.markUnread Mark emails as unread Risk: write
Input Output: void

move

messages.move Move emails to another folder Risk: write
Input Output: void

send

messages.send Send an email to one or more recipients Risk: write
Input Output