getEmailHistory

abstract fun getEmailHistory(contentType: String): Media

Returns email history attachment of specific content type.

Return

Email history attachment or null if message has no email history for the content type.

Parameters

contentType

Type to match.

abstract fun getEmailHistory(): Media

Returns email history attachment for the "text/plain" content type.

Return

Email body attachment or null if message has no email body for the "text/plain" type.