making webmail_bottom hook more powerful