4 min readUpdated Mar 2, 2026

SendTileEmailModal Documentation

Purpose

The SendTileEmailModal component is designed to facilitate the process of composing and sending an email containing tile data within the Vantage analytics platform. This modal allows users to summarize key metrics, share data insights, and notify team members effectively.

Settings

1. isOpen

2. onClose

3. tileTitle

4. tileData

5. tileConfig

6. actionConfig

a. actionConfig.defaultTo

b. actionConfig.defaultSubject

c. actionConfig.emailService

d. actionConfig.credentialId

Functionality Overview

Expected Data

The SendTileEmailModal expects a variety of data types for its props, primarily focusing on strings and objects that contain relevant information regarding the email composition and tile metadata. Below are specifics:

Use Cases & Examples

Use Case 1: Team Notification of Data Insights

A project manager wants to notify the analytics team about newly available data metrics from a recent project. Using the SendTileEmailModal, they can easily select relevant team members, fill out a subject line, and describe the insights in the message body.

Use Case 2: Sharing Performance Reports

An analyst needs to share performance reports with stakeholders. By using the SendTileEmailModal, they can attach tile data that visualizes key performance metrics and send it directly to relevant executives.

Example Configuration for Use Case 1

json
{
    "isOpen": true,
    "onClose": function() { console.log('Modal closed'); },
    "tileTitle": "Quarterly Sales Report",
    "tileData": {
        "data": [
            { "metric": "Sales Growth", "value": "20%" },
            { "metric": "Customer Acquisition", "value": "150 new customers" }
        ]
    },
    "tileConfig": {
        "visualizationType": "bar_chart",
        "subtitle": "Overview of Q3 Performance",
        "category": "Sales"
    },
    "actionConfig": {
        "defaultTo": "john.doe@example.com, jane.smith@example.com",
        "defaultSubject": "Review of Quarterly Sales Metrics",
        "emailService": "gmail",
        "credentialId": "credential_12345"
    }
}

In this configuration, when the modal is opened, it will pre-fill the subject and recipient fields to expedite the email composition process, allowing the user to focus on crafting a meaningful message that summarizes the key metrics seamlessly.