<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Email notification setup workaround for Gmail]]></title><description><![CDATA[<p dir="auto">I could not manage to configure Mycontroller V.1 Email notification settings and make it working with the stringent requirements of Gmail. And since its development is frozen, but it is still my beloved solution, I worked on a solution with the help of node-red.</p>
<p dir="auto">I am on:<br />
<img src="/assets/uploads/files/1745502255295-f435ccce-ee27-4aad-a160-65dd6ee87565-image.png" alt="f435ccce-ee27-4aad-a160-65dd6ee87565-image.png" class=" img-fluid img-markdown" /><br />
running on a Windows 10 mini pc.</p>
<p dir="auto">In node-red, using <a href="https://flows.nodered.org/node/node-red-node-email" rel="nofollow ugc">https://flows.nodered.org/node/node-red-node-email</a> I have first created a local SMTP server:</p>
<p dir="auto"><img src="/assets/uploads/files/1745502723677-76588854-7010-4a93-aba6-6e1ca17809a3-image.png" alt="76588854-7010-4a93-aba6-6e1ca17809a3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">followed by a <strong>change</strong> node in order to extract the <strong>html</strong> portion of the message from the message object:<br />
<img src="/assets/uploads/files/1745503016277-3ffbfaac-e7d5-4ae1-8963-d2aeb16591f6-image.png" alt="3ffbfaac-e7d5-4ae1-8963-d2aeb16591f6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">In order to avoid email clogging I inserted a<br />
<img src="/assets/uploads/files/1745503130957-84b68489-e44a-45da-9196-82908ee869e8-image.png" alt="84b68489-e44a-45da-9196-82908ee869e8-image.png" class=" img-fluid img-markdown" /><br />
to limit the email send rate to 1 email per second.</p>
<p dir="auto">Finally, the message containing the html payload is sent to<br />
<img src="/assets/uploads/files/1745503324674-a0b8225c-b458-40d7-b044-102006cc4bbf-image.png" alt="a0b8225c-b458-40d7-b044-102006cc4bbf-image.png" class=" img-fluid img-markdown" /><br />
which connects nicely to t the Gmail SMTP server, using my camper email account.</p>
<p dir="auto">Gmail SMTP requires an App Password, which can be obtained following these instructions<br />
<a href="https://support.google.com/mail/answer/185833?hl=en" rel="nofollow ugc">https://support.google.com/mail/answer/185833?hl=en</a></p>
<p dir="auto">This is how the flow looks like in node-red<br />
<img src="/assets/uploads/files/1745503645000-990f9c3e-f297-47ae-878f-5f5c3836b08a-image.png" alt="990f9c3e-f297-47ae-878f-5f5c3836b08a-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is how I set up the email notification in MyController<br />
<img src="/assets/uploads/files/1745503737690-56ccb619-c47a-4975-a7a0-89e5be4d26e3-image.png" alt="56ccb619-c47a-4975-a7a0-89e5be4d26e3-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">As you can see the email and domain are fake, since this SMTP server is local. I just needed to define an SMTP user. The same user is added to the list of the allowed users in the Email MTA node.</p>
<p dir="auto">Hope it helps anyone who, like me, struggled with Gmail SMTP restrictions.</p>
]]></description><link>http://forum.mycontroller.org/topic/556/email-notification-setup-workaround-for-gmail</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 16:59:37 GMT</lastBuildDate><atom:link href="http://forum.mycontroller.org/topic/556.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Apr 2025 13:41:18 GMT</pubDate><ttl>60</ttl></channel></rss>