# Hosting Email

**URL:** <https://www.ruby-forum.com/t/hosting-email/152341>\
**Category:** Rails\
**Created:** [November 2, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/hosting-email/152341 "2008-11-02T19:36:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amin1426](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/4da419/32.png) [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Post date:** [November 2, 2008, 7:36pm UTC](https://www.ruby-forum.com/t/hosting-email/152341/1 "2008-11-02T19:36:04Z")

</div>

How do folks handle email for their web startup?

I have my rails app handling all of its email chores beautifully using  
sendmail and ActionMailer. New Account Confirmation, Forgotten Password  
Email, Monthly Newsletter, etc. DNS points to our server using MX  
records and we’re good to go.

My issue is how do I handle my corporate email – employee email, etc?  
I would really like to use google’s private label hosing capability (i’m  
talking about google hosting removed\_email\_address@domain.invalid NOT  
removed\_email\_address@domain.invalid) as the Mail User Agent (MUA). However, I can’t  
figure out how to get employee mail to bypass our web app and go to the  
Mail User Agent while still maintaining the MX record link to our web  
app for the web apps business(again, preferably google’s corporate email  
handling).

It’s as if I need two sets of MX records – one for the web app traffic  
and one for our corporate/employee email.

What have other folks done? Am I missing something fundamental? For  
example, is there a way to have sendmail accept all email but then  
bounce the employee email over to an outside MUA (again, maybe google)?
