[PATCH] apcupsd: Update email scripts to work with dma