Fix issue_5931_shows_null_in_notification_while_sending_mail