Update motionEmailAlert script