added first version of mail notifications for userposts