Unique Emails

add tests for invitations sent to email aliases
fix permissions in ability.rb
Useless assignment to variable - `user_emails`.<br>Prefer `map` over `collect`.<br>Space between { and | missing.<br>Space missing inside }.