A button is created in Layout mode.
A button can have a single command assigned or it can have a perform-script assigned. Your requirement is for a script. You can copy a button and change it's name and the script it uses.
Create a new script which:
– Perform-Finds the right recipients (or it can assume the current found records)
– SendEmail ... which can either send the same email to every address in one go or it can loop through the records and send individual emails where you might customise the subject and body by merging field values... like name or $outstanding or such...
Can you please provide me a sample script that I can customize.