Add SMTP and some subprocess functionality