Prepare code layout and loops for email settings
Display option for email notification settings
Add setting to allow grouping emails
Add Activity Mail Queue, yay
Fix loading of the users selected batchtime setting
Store Activities to Mail Queue
Return batchtime for when filtering the users for email
Fix missing error wrapper on email query
Fix subject for emails
Add BackgroundJob for sending Emails
Update app version
Add MailQueueHandler
Finish background job (apart from interval setting)
Order items by creation time
Batch emails in CLI in packs of 500 to avoid problems with db queries

Fix https://github.com/owncloud/apps/pull/1743/files#r12649705
Allow to inject OC_L10N into translate()
Fix parameter order for some emails
Get the email and language form the preference table and use it to send the mail
Fix sending of Emails
Update comment to point out the issue