Corrected reference to 'AdminDetail' instead of 'EmailDetail' in views.