Common email-worker
Example
q = Queue('email', connection=Redis.from_url(config.REDIS_URL))
with open('test.jpg', 'rb') as f:
q.enqueue('common.email', system='test', sender='Sender <[email protected]>', receiver='Receiver <[email protected]>',
subject='Multipart Email Example', content='''Привет как дела''',
content_html='''<b>Привет</b> как дела''', attachments={'test.jpg': f.read()}
)