First hooks for email commands.