mail sending, part 1
fix changes after pull