Added automatic mailing to users. resolves #7