implemented sending emails in background by sidekiq
small test code removed