rescue nil should be used very carefully... also since a nil last_channel is expected you should change it for a conditional or a try.

```ruby
  email = last_channel.try(:email) || ::Configuration[:email_projects]
```

This will ensure that last_channel AND last_channel.email are not null