remove everything after (
send email after job is finished (redmine #917)
update docs