tried to write a controller method to accept the incoming email