Added log to mail on crash script