Sanitizing $_GET request parameter before using
Checking object class rather than its existence before accessing its
properties
Removed check for empty E-Mail account

We are only retrieving existing E-Mail accounts in get_email_accounts()
method so they is need to check for their existence again