final commit, sending email and stuff