Cleaned up email and result controller result processing.