Add a constructor for local mail server