adding ext_id to log messages for both delivery and failure
fixing delivery error