added default url for actionmailer and resque