The hardware isn’t really more complex, just a few resistors. Also I figured triggering a pin on an another web server would be easier than spending many more hours working on that mail server. Hardware is what I know, and not coding as Juraj posted before. I couldn’t get the web and mail server to work so I moved on a different way.