Would be really helpful if you would show your code – formit call and form html. Also the modx version you’re using.
Here’s a recent post linking to the modx docs for setting up smtp mail sending on your site:
As far as I know, it’s no longer possible to use a gmail address as the From email in the form.