title: AWS SES/WorkMail: Dynamically create mailboxes that forward to external addresses
body: <p>I'm building a service where the end users can create organizations. Other users may then be added to the organization, and each organization may have a number of administrators.
  The service is built on AWS.</p>
  
  <p>Now, when an organization is created, I'd like to automatically create an email address corresponding to the organization, and forward all messages sent to this address to the external e-mail addresses of the administrators of the organization.</p>
  
  <p>So for example let's say the domain of my service is <code>example.com</code>, and Alice (<code>alice@somewhere.com</code>) creates an organization called <code>Foobar</code>. She also adds Bob (<code>bob@somewhere.com</code>) as a second administrator. </p>
  
  <p>I'd then like to register <code>admins-foobar@example.com</code> as a valid mailbox, and whenever someone sends e-mail to this address, it should be forwarded to <code>alice@somewhere.com</code> and <code>bob@somewhere.com</code>, ideally also with the reply path set to the original sender, so that Alice and Bob can answer support questions.</p>
  
  <p>The purpose of this is to have a single point of contact for support issues etc for all the users within an organization.</p>
  
  <p>I've used AWS SES and AWS WorkMail in the past, mostly for transactional mail, notifications and for statically created incoming mailboxes for support etc, but I cannot seem to find if what I want is possible to do through the AWS SDK.</p>
  
  <p>First of all, I'm not sure if what I want to do requires AWS WorkMail at all or if this is somehow possible to solve using AWS SES and trigger rules, but I first looked at WorkMail. The AWS WorkMail SDK enables creating users and enabling mailboxes for them through the SDK, and users are grouped into organizations. However, I cannot find a way to <em>create</em> organizations through the SDK, only through the AWS web console!</p>
  
  <p>Second, I cannot find how I can programmatically set up e-mail rules for forwarding e-mail sent to the created users' mailboxes.</p>
  
  <p>Is this possible at all using AWS services?</p>