Sometimes you want to send an email only under certain circumstances after updating a record.
To do that follow the following procedure.
<input name="mail" type="checkbox" id="mail" value="1">
Click each transaction in turn In the condition field and enter the following for every transaction type:
{POST.mail} == "1"
When the user wants to send an email he/she then needs to tick the checkbox.
The script checks if the value of the checkbox called "mail" is set to "1"
If it is set, the send mail SB will execute and the email will be sent.