test substitution of email key whe deployed