Send mail at the end.