Split out email to reuse functionality for home page