CleanMessagesRequest

public final class CleanMessagesRequest

Class representation of a Nylas clean message request

Constructors

Link copied to clipboard
public CleanMessagesRequest CleanMessagesRequest(@Json(name = "message_id") List<String> messageId, @Json(name = "ignore_links") Boolean ignoreLinks, @Json(name = "ignore_images") Boolean ignoreImages, @Json(name = "images_as_markdown") Boolean imagesAsMarkdown, @Json(name = "ignore_tables") Boolean ignoreTables, @Json(name = "remove_conclusion_phrases") Boolean removeConclusionPhrases)

Types

Link copied to clipboard
public final class Builder

Builder for the CleanMessagesRequest class.

Properties

Link copied to clipboard
private final Boolean ignoreImages

If true, removes images from the email message.

Link copied to clipboard
private final Boolean ignoreLinks

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

Link copied to clipboard
private final Boolean ignoreTables

If true, removes table-related tags (

, ) from the email message while keeping rows.

Link copied to clipboard
private final Boolean imagesAsMarkdown

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

Link copied to clipboard
private final List<String> messageId

IDs of the email messages to clean.

Link copied to clipboard

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

Functions

Link copied to clipboard
public final Boolean getIgnoreImages()

If true, removes images from the email message.

Link copied to clipboard
public final Boolean getIgnoreLinks()

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

Link copied to clipboard
public final Boolean getIgnoreTables()

If true, removes table-related tags (

, ,
, ) from the email message while keeping rows.

Link copied to clipboard

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

Link copied to clipboard
public final List<String> getMessageId()

IDs of the email messages to clean.

Link copied to clipboard

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

, ,