startMessage event return smtp connection instead of custom object