added NULL checks in recipientWithReplyAll