modify scheme to send emails by predictions