add email-ext plugin to script