generalize message emailer, add exception handler for ByeResponseError