adapting sendingmanager::post to different email::sender versions