It is done in https://github.com/geekhub-php/CheDream2/blob/fake-email-fix3/src/Geekhub/UserBundle/Controller/UserController.php#L78 line 78 UserController, updateContactsAction