Added: permission to send email to the user for the proxy

I also added a fix that wasn't covered in the tests.