Builder

public final class Builder

Builder for the CleanMessagesRequest class.

Parameters

messageId

IDs of the email messages to clean.

Constructors

Functions

Link copied to clipboard
public final CleanMessagesRequest build()

Builds the CleanMessagesRequest instance.

Link copied to clipboard

If true, removes images from the email message.

Link copied to clipboard

If true, removes link-related tags () from the email message while keeping the text.

Link copied to clipboard

If true, removes table-related tags (

, ) from the email message while keeping rows.

Link copied to clipboard
public final CleanMessagesRequest.Builder imagesAsMarkdown(Boolean imagesAsMarkdown)

If true, converts images in the email message to Markdown.

Link copied to clipboard
public final CleanMessagesRequest.Builder removeConclusionPhrases(Boolean removeConclusionPhrases)

If true, removes phrases such as "Best" and "Regards" in the email message signature.

, ,