mail loop done