Add email resource tests