Add smtp server on functions