Arduino R4 Email Alert and SMS Setup

Customer: AI | Published: 01.12.2025

I have an Arduino R4 that needs to email hourly some sensor data to my Gmail inbox and a SMS alert notifications if some data are our of range. Each message must contain timestamp of when the email is sent. The specific programm for automatic irrigation on ARDUINO Editor is already existing and access to the Arduino and g-mail account will be providet. The core tasks are: • Write and supply a well-commented sketch that connects the R4 to Wi-Fi, authenticates with Gmail (app password or OAuth2—whichever you find most reliable under Google’s current security rules), then pushes an email once every hour. • Write and supply a well-commented sketch that connects the R4 to Wi-Fi, authenticates to send SMS in certain occasions. • Format the email body so the timestamp and device status are clearly readable. • Provide any supporting libraries, configuration notes (server, port, SSL settings), and a brief step-by-step guide so I can flash the code, set my credentials, and verify operation. The program is in developed for: https://www.opensensemap.org/explore/6878fdfb292576000728df2d