fixed mail dependency