fix required interface for email sending