fixbugs about mail queue
refactor defineTask