Added extra infra function for email