SQL implemenation for email queue repository
tests for file repository