change mail after publish