blog

Experience From A First Solo Trip!

Shifa, who works at our company used her company conference budget and made her first solo trip abroad to attend RubyConf 2015 in San Diego. Here is her experience while travelling alone, the preparation, the craziness, the fear and overcoming it, realisations and finally elation! A well written post that we hope inspires other women … Continue reading Experience From A First Solo Trip!

All About Gmail API (Via IMAP) In Ruby on Rails

Adding Gmail IMAP directly into a Rails application is quite easy. As Pramod explains in this post.

Pramod B. Shinde's avatarCurious Reflections

We often need to read user email messages from Gmail, In this post I will be taking you through how to access user inbox messages from Gmail using gmail_xoauth gem and Ruby Net::IMAP Net library in your Rails application.

I have the sample example file on gist , I would suggest refer this example side by side with this post.

gmail_xoauth allows you to authenticate Gmail IMAP and STMP via OAuth, using the standard Ruby Net libraries. Gmail Platform provides XOAUTH2 mechanism a OAuth 2.0 protocol used for IMAP AUTHENTICATE and SMTP AUTH commands.

Ruby implements Internet Message Access Protocol (IMAP) client functionality in Net::IMAP Net libraries.

Before we start here are some prerequisite,

1) You need to Authorize user via Google using omniauth-google-oauth2 with omniauth configuration specified in sample omniauth_config.rb

2) While Authorize you must define following scopes.

3) If you are accessing user email in offline mode then you need…

View original post 260 more words

When I travelled halfway across the world to attend RubyConf 14 San Diego

It would be folly to even try and sum up all my experiences in one blog post. Hence this part is a short recap of my impressions of RubyConf San Diego. After a long journey of ~12000kms, little sleep, lots of coffee, and several moments of uncertainty ; I finally arrived at San Diego Convention … Continue reading When I travelled halfway across the world to attend RubyConf 14 San Diego