MKR1010 using EMailSender library works twice then will not connect to email server

Your expecting the network connection to remain open for an hour?

Check for a valid network connection before sending, if not connected, connect then send.

Disconnect, sleep, reconnect.

Learn to use millis()