ProtectedProviderReturns the name of this provider for use in error messages. Override in subclasses to provide a more descriptive name.
Archives a message. Override in subclasses that support this operation.
Parameters for archiving the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Creates a draft message using the provider.
Optionalcredentials: SendGridCredentialsDeletes a message. Override in subclasses that support this operation.
Parameters for deleting the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Downloads an attachment from a message. Override in subclasses that support this operation.
Parameters for downloading the attachment
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Forwards a message to another client using the provider.
Optionalcredentials: SendGridCredentialsFetches messages from the provider.
Optionalcredentials: SendGridCredentialsGets a single message by ID. Override in subclasses that support this operation.
Parameters for retrieving the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Returns the list of operations supported by the SendGrid provider. SendGrid is a transactional email service (send-only) and does not support mailbox operations like fetching messages, folders, or attachments.
Lists attachments on a message. Override in subclasses that support this operation.
Parameters for listing attachments
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Lists folders/mailboxes available in the provider. Override in subclasses that support this operation.
Parameters for listing folders
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Marks message(s) as read or unread. Override in subclasses that support this operation.
Parameters for marking messages
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Moves a message to a different folder. Override in subclasses that support this operation.
Parameters for moving the message
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Replies to a message using the provider.
Optionalcredentials: SendGridCredentialsSearches messages using a query string. Override in subclasses that support this operation.
Parameters for searching messages
Optionalcredentials: ProviderCredentialsBaseOptional credentials override for this request
Promise
Sends a single message using SendGrid.
The processed message to send
Optionalcredentials: SendGridCredentialsOptional SendGrid credentials override
Checks if this provider supports a specific operation.
The operation to check
true if the operation is supported
Implementation of the SendGrid provider for sending and receiving messages.
Remarks
SendGrid is a transactional email service. This provider supports:
It does NOT support:
Example