Griddler is a Rails engine that provides an endpoint for the SendGrid parse api, Cloudmailin parse api, and Postmark parse api that hands off a built email object to a class implemented by you.
Questions tagged [griddler]
31 questions
1
vote
1 answer
How to upload Email Attachments using griddler and paperclip
I'm using Mandrill as Inbound email routing and I'm using those gems to receive emails and save it in a database.
griddler
griddler-mandrill
paperclip
How can I save the attachments in separated database table "Attachments" using paperclip.

dyaa
- 1,440
- 18
- 43
1
vote
1 answer
How to differentiate uploaded attachments from email attachments when parsing incoming emails with the Thoughtbot Griddler gem?
I have an app that parses incoming email with the Thoughtbot Griddler gem. Currently, we don't support saving attachments, so we send users a "warning email" letting them know that we don't yet support saving attachments.
The old version of my app…

Brantley Beaird
- 429
- 4
- 11
1
vote
1 answer
Griddler issue: wrong number of arguments (1 for 0)
I'm trying to use Griddler in my Rails 4 app. The processor appears to be receiving the email (via mailgun) but Griddler isn't saving it. I'm getting a 500 error with a specific error of ArgumentError in Griddler::EmailsController#create
wrong…

grega
- 53
- 1
- 6
1
vote
1 answer
Rails create! with nested attributes
I'm writing to an email table every-time my app receives emails.
I'm passing in an email object to create the record, but failing to figure out how to translate the email.to property, which is an array of hashes.
I have the corresponding…

jahrichie
- 1,215
- 3
- 17
- 26
1
vote
1 answer
Griddler config undefined method processor_class
I created config/initializers/griddler.rb per the github's instructions:
Griddler.configure do |config|
config.processor_class = EmailProcessor
config.to = :email # :full, :email, :hash
config.reply_delimiter = '-- REPLY ABOVE THIS LINE --'
…

quantumpotato
- 9,637
- 14
- 70
- 146
0
votes
2 answers
Is there a way to get around H12 timeouts in Heroku using griddler to parse inbound messages with large attachments from sendgrid
My workflow is email--sendgrid--griddler and the rails app runs on heroku. All inbound emails have attachments, and some are rather large. I keep getting H12 timeouts on Heroku because the attachments take more than 30s to upload to Google Cloud…

timothy wright
- 93
- 9
0
votes
1 answer
How to skip SPF validation in 'griddler-sendgrid' gem?
I am using gem 'griddler' with gem 'griddler-sendgrid' in my ruby on rails app for incoming mails.
It is working fine on staging server but getting issue with production server. There is no issue in my configuration, I have confirmed this with…

Ankur
- 1
- 3
0
votes
1 answer
Is it possible to setup Griddler + Sendgrid to only be used for a single email address?
Want to use Griddler for uploading attachments etc in my rails app but only want a certain email address to be forwarded to my rails app is this possible cant find and docs on this as an option

Michael Cindric
- 84
- 1
- 7
0
votes
1 answer
Receiving emails with sendgrid and cloudmailin
I have the same concept as mentioned in this question(generating a unique random email address for each user in rails app. When the user sends an email that that randomly generated email address, we process the body and store in db.
I followed the…

Kranthi
- 1,377
- 1
- 17
- 34
0
votes
1 answer
NoMethodError (undefined method `posts' for nil:NilClass)
I'm very new to rails and was using the gem griddler to hopefully parse some incoming emails. I used all the code from the github site, and it provides an example emailprocessor.rb here:
class EmailProcessor
def initialize(email)
@email =…

seanscal
- 568
- 2
- 9
- 33
0
votes
1 answer
Rails routing error while using griddler gem
I'm facing a strange issue on route added by griddler in my rails app.
routes.rb excerpt:
# mount griddler using default path: /email_processor
post '/email_processor' => 'griddler/emails#create', as: :email_processor
Rake routes
$ bundle exec…

Indyarocks
- 643
- 1
- 6
- 26
0
votes
1 answer
Griddler gem throwing exception while parsing an incoming email
I have integrated Sendgrid incoming parse Webhook API, and it is correctly posting the email object to my rails app. On app I'm using griddler gem to catch and do further processing of email data. But I'm getting following exception:
Sent mail to…

Indyarocks
- 643
- 1
- 6
- 26
0
votes
2 answers
Set sendgrid Incoming Mail Parse webhook
I'm using gmail MX for outgoing mail. i.e. I have 5 MX record with gmail. Now I want to use sendgrid incoming mail webhook for parsing replied mails. For this, I'm using griddler.
My queries are,
what will happen if my DNS have two different MX…

Indyarocks
- 643
- 1
- 6
- 26
0
votes
1 answer
Griddler - Clean all body to get only user text
I'm creating an app to handle emails answered directly to me.
Everything is working fine with Griddler and SendGrid adapter.
My question is: How can I get only the text that user wroted.
My email has a lot of images and I'm using reply_delimiter to…

Cleyton
- 2,338
- 6
- 23
- 39
0
votes
1 answer
Why is mount_griddler an undefined method?
I am trying to use the Griddler gem, and did a bundle install for 'griddler' in my Gemfile. In my routes.rb I added the line:
mount_griddler ('/email/incoming')
When I try running rails s, I keep getting the error:
'block in ':…

daphsta
- 25
- 3