Interface EmailService

All Superinterfaces:
Service

public interface EmailService extends Service
A service to interact with emails received by Vault.
  • Method Summary

    Modifier and Type
    Method
    Description
    getEmailBody(String emailRecordId, EmailBodyType emailBodyType)
    Retrieves the body of the email as HTML or plain text.
  • Method Details

    • getEmailBody

      String getEmailBody(String emailRecordId, EmailBodyType emailBodyType)
      Retrieves the body of the email as HTML or plain text.
      Parameters:
      emailRecordId - the ID of the email__sys record from which to get the email body
      emailBodyType - the email body type to retrieve
      Returns:
      the email body