Guides
Home

Email Message Service

1. Send Email

AccelerationCloud provides APIs that enable developers to integrate email functionality into their applications, websites, or services, making it easier to send, receive, and manage emails without the need for a traditional email client.
Through AccelerationCloud API, you could send emails without integrate with other services to enable bulk email sending, template support, attachment upload, HTML&Plain text email, personalizations.
curl --request POST \
     --url http://api-dev.accelerationcloud.com/api/v1/cores/utility/message/email \
     --header 'accept: */*' \
     --header 'content-type: application/json' \
     --data '
{
  "from": {
    "email": "[email protected]",
    "name": "Alex Huang"
  },
  "subject": "Welcome Email",
  "content": [
    {
      "type": "text/plain",
      "value": "Welcome Onboard"
    }
  ],
  "personalizations": [
    {
      "to": [
        {
          "email": "[email protected]",
          "name": "FinTech Support"
        }
      ]
    }
  ]
}
OkHttpClient client = new OkHttpClient();

MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"from\":{\"email\":\"[email protected]\",\"name\":\"Alex Huang\"},\"subject\":\"Welcome Email\",\"content\":[{\"type\":\"text/plain\",\"value\":\"Welcome Onboard\"}],\"personalizations\":[{\"to\":[{\"email\":\"[email protected]\",\"name\":\"FinTech Support\"}]}]}");
Request request = new Request.Builder()
  .url("http://api-dev.accelerationcloud.com/api/v1/cores/utility/message/email")
  .post(body)
  .addHeader("accept", "*/*")
  .addHeader("content-type", "application/json")
  .build();

Response response = client.newCall(request).execute();

2. Custom Branding

If you want to use the custom domain, AccelerationCloud also provides the advanced setting for you. You need to own or register a domain name (e.g., yourcompany.com) through a domain registrar or hosting provider. This domain name becomes the basis for your custom email addresses
After that, you will need to install the following CNAME records to complete the process. Once added, please contact your account manager to verify your custom domain to activate the customized domain


3. Receive Email(Coming Soon)

AccelerationCloud can help you process email using the Receiver Email Webhook. The Receiver Email Webhook processes all incoming email for a domain or subdomain, parses the contents and attachments then POSTs multipart/form-data to a URL that you choose

4. Email Address Verification

We allow developers to programmatically verify the validity and existence of an email address. Email verification is crucial for ensuring that you send emails to real and deliverable addresses, which can improve your email deliverability rates and reduce bounce rates.

Use Case

Indicate to users that the address they have entered into a form is invalid.
Drop invalid email addresses from your database.
Check invaid email addresses from your sending to decrease your bounce rate.

Sample API Request
curl --request POST \
     --url http://api-dev.accelerationcloud.com/api/v1/cores/utility/message/email/validation \
     --header 'accept: */*' \
     --header 'content-type: application/json' \
     --data '
{
  "email": "[email protected]"
}