getting them emails working