Our call center uses the service cloud and is paid per sent email. The price depends on the language of the email. To get the most accurate bills, we have to somehow flag all sent emails with the language of the email. I don't really know how this could be done and would appriciate any help.
Emails are sent using the standard "Send an Email" button on the email related list on cases. On the "Send an Email" screen, agents select a template, sometimes motify the text and send the email. They do not use the service console.
Is it possible to use some Javascript hack to get the template name? When we have the language in all template names (e. g. ..._FR, ..._EN), this could be used to set a custom language field on the email message.
I want to avoid a solution where agents would have to select the language automatically because mistakes and deliberately wrong declarations would be possible and this would cause more effort for each email. But if a manual solution is necessary, how could it be done in a convinient way for agents that send dozens or hundreds of emails per day?