Fixes added to mailbot.