title: Amazon SES - Reject mails based on size
body: <p>I have been trying to configure Amazon SES for receiving emails to my domain, and reject mails which are above a certain size limit.</p>
  
  <p>I am able to get the notification data into a lambda service, where I can see all the common headers but the "Content-Length" header as mentioned in Amazon documentation does not exist in the data I received in the Lambda event.</p>
  
  <p>Is there any configuration I have to do to get those headers? Or is there any other way I can stop accepting mails which is above a certain size?</p>