You've ended up with some extra code here - can you tweak this so that you only do the admin email setup and delivery once?