making everything work for a simple smtp interface