Refactor incoming email action (double render errors)