Change case state title to use i18n string
Retry up to 5 times if sending email failed
Minor style change