How to conditionally change email recipient?