email config to both test and prod env