added the unique and 'ensure_index' validations to the email model

I only added one line of code so I know it's kind of unnecessary to do a pull request, but I just wanted to do it as practice so I understand the process better.