I need to send an specific contents email based on an specific event conditions from within a build script. I have not find a way of performing such action on the documentation, all that is mentioned that serves my purposes but only on a basic level, is to send an email as a service message. However, this functionality lacks the capacity to specify which email template to use, which would make things much better:
##teamcity[notification notifier='email' message='Message body' subject='Email subject' email@example.com,firstname.lastname@example.org']
Is there any way that does not force me to include the "message body" as a whole on my code, through this service message?