Specify groups

## Changes to current implementation

* users `mail` property is now called `email`