adds better smtp plugin, makes some items optional