Mail plotting script