Added email debugging for crash case