fix automatic smtp_url switching, add goobook, remove cruft