Developer Platform APIs
Zoho Mail provides APIs to integrate its functionalities with your widget/ extension. These are categorized into Functions and Events.
To get started, you are required to initialize your application. Use the command given below to initialize the application you have created:
var clientsdk = SigmaSDK.MAIL.init(function () { });
You can fetch and apply settings such as DC, font, language, and night/ light modes configured in your Mail settings to the application you have created using the command given below:
clientsdk.get(["appsetting"])
Functions
- GET MAIL DETAILS API
- Current email details
- Providing message ID of the email
- COMPOSE MAIL API
- Compose new mail
- Insert mail content
- GET COMPOSE DETAILS
- GET CONTACT DETAILS API
- Providing the email address of the contact
- Providing ZUID of the contact
- ATTACHMENTS API
- Upload attachment from URL
- Download attachment
- RESPOND TO AN EMAIL API
- Reply To
- Reply To All
- Forward an email
- EMAIL RELATION DATA API
- Create Relation data
- Obtain Relation data
- APPLICATION PARAMETERS API
- Obtain app parameters
- APPLICATION DATA API
- Create application data
- Obtain application data
- Delete application data
- ENABLE DROP FOR APP API
- INVOKE URL
- OPEN WIDGET API
All the above functions will return a promise.