public function getEmail()
{
// define email
$email = null;
// request contains an email
if ($this->get('request')->request->get('email') != null) {
$email = $this->get('request')->request->get('email');
}
return $email;
}