Adding background tasks (for emailing purposes)