Add an index to emails
Add authentication