Good code should read like a nice story, from top to bottom. The success email is the last thing that happens, so it should be at the end of the interface.