Maximum Attachment Size in database mail Good Afternoon,

I am trying to send an attachment via database mail.

declare     @mail_recipients  VARCHAR(4000)  = 'abc@123.com'
          , @mail_subject     VARCHAR(500)   = 'subject'
          , @mail_body        VARCHAR(4000)  = ''
          , @mail_attachment  VARCHAR(500)   = ''
          , @sql_query        VARCHAR(4000)  = ''

..... Code to populate the query

EXEC msdb..sp_send_dbmail   @profile_name                 = {our profile name}
                          , @recipients                   = @mail_recipients
                          , @subject                      = @mail_subject
                          , @body                         = @mail_body
                          , @body_format                  = 'HTML'
                          , @query_result_header          = 1 
                          , @query                        = @sql_query
                          , @attach_query_result_as_file  = 1
                          , @query_attachment_filename    = @mail_attachment
                          , @query_result_separator       = ','


I am getting the following error.  


  Msg 22050, Level 16, State 1, Line 0
  File attachment or query results size exceeds allowable value of 10000000 bytes.


When I run this in SSMS, and SAVE-AS csv file, the file is only 9077 KB.  What would database mail be doing to make it think the file is so much bigger?
You will have to change the allowed Attachment file size by going to the following location: 

Go to SQL Server Management Studio -->  Management -->  Database Mail 

This will fire up the Configuration Wizard. 

Click Next --> Select View or change system parameters --> click Next.

Now change the Maximum File Size (Bytes) property and click Next, then click Finish to save your changes.