bot.mail!bug: use wrong stdin for input