# Type of request: This is a ...

[x] bug report
[ ] feature request

# Detailed description
AWS Java SDK is  throwing different exceptions than the expected
version: 1.11.327

**Example 1:**  send a notification with an unverified email address as from address follows

## Expected behavior
exception which is thrown by AWS is like 
com.amazonaws.services.simpleemail.model.MessageRejectedException: Email address is not verified. The following identities failed the check in region US-EAST-1: arn:aws:ses:us-east-1:654856854863:identity/miqdigitl.com (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: MessageRejected; Request ID: 0632aab8-0be1-4eeb-9d0f-8c699330aabf) 

## Actual behavior
 exception thrown when using localstack is like
com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: null (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: 400 ; Request ID: null)

**Example 2 :** send create template request

## Expected behavior
Template gets created successfully

## Actual behavior
com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: null (Service: AmazonSimpleEmailService; Status Code: 500; Error Code: 500 ; Request ID: null)

# Steps to reproduce
1. use AWS java SDK in java project
2. make localstack up using docker latest image
3. try to send with unverified email address/ create template connecting to localstack 


## Command used to start LocalStack
docker run --env SERVICES=ses  -p 4566:4566  localstack/localstack

## Client code 

**in kotlin**
val endpoint : AwsClientBuilder.EndpointConfiguration = AwsClientBuilder
      .EndpointConfiguration("http://localhost:4566","us-east-1")
val client = AmazonSimpleEmailServiceClientBuilder.standard()
          .withEndpointConfiguration(endpointConfiguration)
          .build()
client.createTemplate(templateRequest)
         or 
client.sendEmail(sendEmailRequest)

please let me know if I am doing something wrong here as well 
bodydatakey = 'Message.Body.Text.Data'
        if 'Message.Body.Html.Data' in self.querystring:
            bodydatakey = 'Message.Body.Html.Data'
        body = self.querystring.get(bodydatakey)[0]
        source = self.querystring.get('Source')[0]
        subject = self.querystring.get('Message.Subject.Data')[0]
        destinations = {'ToAddresses': [],
                        'CcAddresses': [], 'BccAddresses': []}
        for dest_type in destinations:
            
            for i in range(1, 52):
                field = 'Destination.%s.member.%s' % (dest_type, i)
                address = self.querystring.get(field)
                if address is None:
                    break
                destinations[dest_type].append(address[0])
        LOGGER.debug('Raw email\nFrom: %s\nTo: %s\nSubject: %s\nBody:\n%s'
                     % (source, destinations, subject, body))
        return email_responses_send_email_orig(self)
    email_responses.send_email = email_responses_send_email
    email_responses_list_templates_orig = email_responses.list_templates
    def list_templates(self):