Added startmail and stopmail