setInvitationEmail
Configure this beta project's custom tester invitation email. When activated, EVERY invitation email this beta sends (inviteTesters, inviteApplicants, the publish-time fan-out, and invitations sent from the Stomio dashboard) uses this subject and message instead of the stock Stomio email; when not activated the stock email is used and the stored draft is kept. Provide only the fields to change. The message (basic HTML, up to 1024 characters of rendered text) may use ONLY these template variables, written in double curly braces: {{PROJECT_NAME}}, {{WORKSPACE}}, {{MANAGER_USERNAME}}, {{MANAGER_FULL_NAME}} — any other {{...}} placeholder is rejected. The subject (plain text, up to 128 characters) supports NO template variables at all: variables are only substituted in the message, so a {{...}} placeholder in the subject is rejected here (it would reach testers unreplaced). Activating requires both a subject and a message (already-stored values count). Invitation emails are sent from a no-reply address, so a message that invites testers to "just reply to this email" reaches nobody: point them at the Stomio dashboard, or at an address written in the message itself. Configuring the template sends nothing by itself. Read the current template via getProductOverview (customInvitationEmail).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | The email body (basic HTML; template variables allowed). | |
| subject | No | The email subject (plain text, up to 128 characters; {{...}} template variables are NOT supported in subjects and are rejected). | |
| activated | Yes | Whether invitation emails use the custom template. Required. | |
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. |