func (m *WriterMailer) AddToQueue(job EmailJob) error {
	err := m.yellEmail(job)
	job.OnCompleted(err)
	return err
}
AddToQueue writes the email to the writer provided in MakeWriterMailer
returns an error if the underlying template cannot be executed
package emailservices
import (
	"io"
	"text/template"
	"github.com/theparanoids/ashirt-server/backend/logging"
)
type WriterMailer struct {
	writer io.Writer
	logger logging.Logger
}
func MakeWriterMailer(w io.Writer, logger logging.Logger) WriterMailer {
	return WriterMailer{
		writer: w,
		logger: logger,
	}
}