Rearrange order of tasks to minimize effect of mail fail on localhost