Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

Profile > Emails → Display An Email

AI-generated

Summary

Retrieves a single email from Infomaniak by its type and ID.

Inputs

  • authentication (required) — Authentication method to use for the request. Options are OAuth2 (default) or API Key.
  • emailType (required) — The email type to request. Expected values are 'email' or 'email_request'.
  • emailId (required) — The unique identifier (ID) of the email to retrieve.
  • returnFullResponse — If set to true, returns the full raw API response; otherwise returns only the email data.

Output shape

An object containing the email details when returnFullResponse is false. When returnFullResponse is true, the entire API response is returned.

The operation constructs a GET request to the Infomaniak endpoint /profile/emails/{emailType}/{emailId} using the selected authentication method.

Examples

Example 1: Fetch an email with ID 123 of type 'email' using OAuth2.

Authentication: OAuth2, Email Type: email, Email Id: 123, Return Full Response: false.

Links

Discussion