email layout current_patron error