How correctly set “In-Reply-To” and “Reference” headers in Gmail API

I’m trying to reply a mail I received using Gmail API. I tried following code it appends the sending message to thread in my mailbox but for the receiver it send as a new message. What is the proper …

Python w/ Selenium Gmail Email Send Automating To: Field is Giving Me Trouble

The end goal is to send myself an email if my public ip address changes, as I don’t have dynamic dns and have to manually enter the ip addresses myself for my web server. I’ve done all I possibly can …