"ThunderAI" Thunderbird Addon Data Placeholders
Starting with version 2.3.0, it is possible to use data placeholders in the prompt text.
These are the default placeholders that can be used:
{%mail_text_body%}
: the body of the email in plain text.{%mail_html_body%}
: the body of the email in HTML.{%mail_subject%}
: the subject of the email.{%selected_text%}
: the text selected by the user. To use this placeholder the "Text selection needed" flag must be set in the prompt configuration.{%additional_text%}
: the text added by the user before sending the prompt. To use this placeholder the "Ask for additional text" flag must be set in the prompt configuration.{%author%}
: the author of the email.{%recipients%}
: the list of recipients of the email, separated by a comma.{%cc_list%}
: the list of addresses of the CC field of the email, separated by a comma.{%junk_score%}
: the Junk score of the email, only for received emails.
Placeholders can be added using an autocomplete feature when writing a prompt on the custom prompts page.
With the option "Placeholders: Use default value", you can choose whether to use the default value or retain the placeholder when no value is available (for example, an email with no address in the CC field)