'Sends the link to backup file located at erpnext/backups'

def send_email(self):

    from frappe.email import get_system_managers
    recipient_list = get_system_managers()
    db_backup_url = get_url(os.path.join(u'backups', os.path.basename(self.backup_path_db)))
    files_backup_url = get_url(os.path.join(u'backups', os.path.basename(self.backup_path_files)))
    msg = (u'Hello,\n\nYour    backups    are    ready    to    be    downloaded.\n\n1.    [Click    here    to    download    the    database    backup](%(db_backup_url)s)\n2.    [Click    here    to    download    the    files    backup](%(files_backup_url)s)\n\nThis    link    will    be    valid    for    24    hours.    A    new    backup    will    be    available    for\ndownload    only    after    24    hours.' % {u'db_backup_url': db_backup_url, u'files_backup_url': files_backup_url})
    datetime_str = datetime.fromtimestamp(os.stat(self.backup_path_db).st_ctime)
    subject = (datetime_str.strftime(u'%d/%m/%Y    %H:%M:%S') + u'    -    Backup    ready    to    be    downloaded')
    frappe.sendmail(recipients=recipient_list, msg=msg, subject=subject)
    return recipient_list
