remote smtp emails are now working yay, plus more checkout refactor