fixes #44 (empty $head->to in mail head)