Getting mail_to env var if no attribute is set