Customize verification email by Connection?

I’d like to have different verification email formats based on the DB Connection. How can this be done?

The {{ connection.name }} macro can be used to customize the email.

Note: You can use the {{ debug }} macro in test emails to see all available properties.