fix unique index of 'attributes.mail' - not 'email'