Permissions

Commit including "Making code more readable" and above this are part of "E-Mail handling" PR