Add logic for Mandrill template selection based on payload