fix mail sync