I have a domain for example https://example.com
website setup on a VULTR VPS. I have configured the VPS to be the primary MX for the domain and configure what I believe is an appropriate SPF record for it. The VPS can send and receive email for the domain. I can receive email fine to multiple other domains.
But it does not apply for Gmail.