Created an email hash factory