tried to write a controller method to eccept the incoming email