webfistd: move SMTP stuff into its own file