wire up mail form