Make email a unique index

Fixes #77