SPF, DKIM, and DMARC explained for developers

Why email from your domain lands in spam, what SPF, DKIM and DMARC each verify, example DNS records dissected, and the rollout order.