Email Service Subscription and Template

Last Updated on : 2024-06-24 03:46:07download

Tuya Email Service is a cost-effective, flexible and extendable email service. Based on the reliable and stable Tuya Developer Platform, this service helps you send emails from cloud applications.

Subscription

Subscribe to the email service on the platform.

Procedure

  1. Log in to the Tuya Developer Platform.

  2. Click Cloud in the left-side navigation bar.

  3. Go to Projects > API Products page and click All Products.

  4. On the All Products page, find Email Service, click and enter the email service page.
    Email Service Subscription and Template

  5. Click Subscribe.
    Email Service Subscription and Template

  6. Select Trial Version on the value-added service (VAS) page, choose whether you need an invoice, and click Buy now.
    Email Service Subscription and Template

Template configuration

  1. After you subscribe to the API product, please authorize the API to the specified project and allow the project to call this service. For the authorization process, see Authorize project to call APIs.

  2. You can refer to Add an email template and call the API to configure the email template. Also, you can use the API debugging assistant of the platform to quickly configure the email template. On the email service product page, select API List > Add an email template > Debug.
    Email Service Subscription and Template

  3. On the API debugging page, select Add an email template on the far left of the page.
    Email Service Subscription and Template

    Note: On the current debugging page, confirm that the API projects, services, and data centers are correct.

  4. Enter the corresponding content, and initiate a call.

  5. After the call, the returned content will contain the template ID, indicating that the email template content has been submitted for review. Tuya will review the content of the email to ensure legality, and complete the review within two working days. You can query the review status through the Query the details of the email template interface.