- Add error checks when looking up an attribute
- Check if email attribute is valid