MT#6789 API: validate email template id

Its reseller needs to match the customer contact's reseller.