consolidate mail functions. typo in mail message fix. div by zero fix if no votes...