User Manual

Google Mail Get Message Content

2/10/25
Google Mail Get Message Content

Google Mail Get Message Content action is used to retrieve the content of a specific message in Gmail. When the user sends an email ID with the messageId parameter, the action returns the body, header information, and attachments (if any) of the relevant email. It is particularly preferred in scenarios such as customer support, automated response systems, or transferring email content to other systems.

Technical Specifications

  • Function: Retrieves the content of an email in Gmail.
  • Parameters:
    • settings (Object – required): Connection settings required for Gmail integration.
    • messageId (String – required): The unique ID value for each email in Gmail.
  • Result: Returns a single (One) → contains the relevant email details.
  • Value Binding:
    • messageId can be entered as a fixed value.
    • Can be dynamically retrieved from the output of other actions (e.g., Google Mail Search Messages) via the Symbol Picker.
  • Web & Mobile Support: Works seamlessly on both web and mobile applications.

Google Mail Get Message Content Application Steps

1. Adding an Action

  • Open your project on the Kuika platform.
  • Go to the screen where you list emails in the UI Design module.
  • Add the + ADD ACTION → Google → Google Mail Get Message Content action to a selected email.

2. Configuring Parameters

  • settings: Selected for Gmail integration.
  • messageId:
    • Fixed value → “17c4f5d2a6b...”
    • Dynamic value → Linked to the id obtained from the Google Mail Search Messages result.

Usage Scenario: “View Selected Mail Content”

In a customer support application, the user lists the messages in their inbox and wants to see the content of the selected message when they click on it.

Steps:

  1. Google Mail Search Messages lists the emails in the inbox.
  2. The user clicks on an email.
  3. Google Mail Get Message Content runs and the messageId parameter is retrieved from the selected email.
  4. The content details are displayed on the screen.

Google Mail Get Message Content Advanced Customizations

  • Show Attachments: If the incoming message has attachments, they can be downloaded via a separate field.
  • Conditional Actions: If the email subject contains a specific word, another action can be triggered automatically.
  • Data Transfer: The returned content can be transferred to other systems (e.g., Trello card description or Google Drive file).

Technical Risks and Controls

  • If messageId is entered incorrectly, the action returns an error.
  • When a deleted email or one without access permission is called, an empty result may be returned.
  • Very large attachments may cause performance issues.
No items found.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar