Refactored configurations permissions. Added methods for user emails.