Moving from mail to secret for config