Fix for broken email tool, since change to new settings db file this has broken, fixes cannot send email issue.