Fix send mail and make site name configurable.